Eric Rowell
|
d4f03e64b1
|
removed unecessary regex in Class file which was tripping up the JS minifier
|
2012-07-11 22:55:18 -07:00 |
|
Eric Rowell
|
780d5568db
|
updated the documentation for all methods to reflect the new inhertiance changes. And yes, if you're curious, it took forever.
|
2012-07-08 21:56:52 -07:00 |
|
Eric Rowell
|
5169c93219
|
fixed afterFrame index bug which caused the event to trigger on the wrong index
|
2012-07-08 19:15:23 -07:00 |
|
Eric Rowell
|
d0f37f7c88
|
rewrote text array algo in Text. added newline support. now handling edge case in which the text box width is smaller than a character width. if a line is not able to wrap via space or dash, the word itself is wrapped.
|
2012-07-08 13:59:43 -07:00 |
|
Eric Rowell
|
30fd5c1fa7
|
greatly improved sprite animation performance by hooking into the global animation object
|
2012-07-07 21:39:03 -07:00 |
|
Eric Rowell
|
a8ab9a2533
|
implemented clone method (inspired by matteo78) and added thorough unit tests
|
2012-07-07 14:43:12 -07:00 |
|
Eric Rowell
|
7f7cd24838
|
attr change events no longer bubble. updated functional test data urls
|
2012-07-07 11:52:04 -07:00 |
|
Eric Rowell
|
9baaee2440
|
getIntersections no longer returns visible shapes in the result set, and can also be called from any container
|
2012-07-06 21:45:18 -07:00 |
|
Eric Rowell
|
1f3d1cc905
|
added event bubbling functional test
|
2012-07-06 10:05:37 -07:00 |
|
Eric Rowell
|
014d4f198f
|
fixed mouseover / mouseout incorrectly firing when moving from one node to another node inside the same container
|
2012-07-06 00:27:55 -07:00 |
|
Eric Rowell
|
d28d2c910d
|
fixed gub with Container.remove() method which had bad logic removing children nodes
|
2012-07-04 22:04:03 -07:00 |
|
Eric Rowell
|
26e753b90c
|
fixed RegularPolygon getters and setters
|
2012-07-04 19:52:56 -07:00 |
|
Eric Rowell
|
de7cab4cf3
|
moved animation logic into Animation.js. Global.js now only contains logic and properties that operate on stages
|
2012-07-03 23:00:52 -07:00 |
|
Eric Rowell
|
6126c73a84
|
moved data type logic into new utility files Type.js and renamed GlobalObject to Global
|
2012-07-03 22:08:59 -07:00 |
|
Eric Rowell
|
17644fcb8f
|
made performance improvement for isVisible method, suggested by mysza
|
2012-07-03 12:59:31 -07:00 |
|
Eric Rowell
|
3d4d2d20c0
|
now utilizing John Resig's mashup of Base.js and protototype.js inheritiance Class so that it's easy for developers to extend KineticJS objects with extend() or to simply tack on new methods and properties that's available to all children classes. Moved getter and setter logic to Node. Moved transition class to root directory and created Tween class
|
2012-07-03 12:07:27 -07:00 |
|
Eric Rowell
|
e2e16d49c1
|
updated serialization/deserialization unit tests
|
2012-07-01 21:12:52 -07:00 |
|
Eric Rowell
|
f8f46daafe
|
added work around for strange formatting error
|
2012-07-01 20:58:13 -07:00 |
|
Eric Rowell
|
3e0ed1c2fb
|
fixed up logical error in Text shape
|
2012-07-01 17:14:15 -07:00 |
|
Eric Rowell
|
66f29c602e
|
added padding attr change event binding to Text
|
2012-07-01 17:08:59 -07:00 |
|
Eric Rowell
|
39e8a7af8d
|
reverted Image shape. Image no longer extends rect because this was producing losses in performance and big losses in image quality when scaling the image
|
2012-07-01 16:48:04 -07:00 |
|
Eric Rowell
|
6e3bae6b2d
|
fixed typo introduced with search/replace
|
2012-07-01 16:29:15 -07:00 |
|
Eric Rowell
|
4c521317ff
|
Text shape is no longer a group made up of a Rect and Shape. The complexity overhead out-weighs the inelgance of duplicating a dozen lines of the Rect shape.
|
2012-07-01 16:25:02 -07:00 |
|
Eric Rowell
|
caae5a5155
|
bug fix: ellipse radius change no longer fires duplicate attr change event
|
2012-07-01 15:30:51 -07:00 |
|
Eric Rowell
|
31566bff13
|
transition attr updates now fire the attr change event. Fixed problem with root level attrs not being fired when child level attr changed
|
2012-07-01 00:19:56 -07:00 |
|
Eric Rowell
|
ddb57a03ba
|
updated testing instructions in the README
|
2012-06-30 20:10:58 -07:00 |
|
Eric Rowell
|
aa4b0955c0
|
added horizontal align logic back into the Text draw func
|
2012-06-30 20:05:27 -07:00 |
|
Eric Rowell
|
e279ea30b9
|
fixed up new Text wrap edge cases. Will add a bunch of unit tests soon
|
2012-06-30 19:43:52 -07:00 |
|
Eric Rowell
|
6663b9e612
|
first pass at implementing auto word wrap. Still have a few edge cases to cover. Removed vertical align property as it is no longer relevant
|
2012-06-30 00:40:54 -07:00 |
|
Eric Rowell
|
07ef653441
|
completely rewrote the Text shape. Kinetic.Text is now a Group that's composed of a Rect and a custom shape that draws text. align and vertical align now apply to the text alignment inside the text box. box rounded corners are now possible since Text uses Rect. Shadow logic improved. Beefed up the text getter and setter unit tests
|
2012-06-27 19:50:32 -07:00 |
|
Eric Rowell
|
3b6dffe6e1
|
refactored Image event bindings and fixed radial gradient bug
|
2012-06-24 13:39:36 -07:00 |
|
Eric Rowell
|
a8c09516ba
|
trying out Image extending Rect so that Image has Rect properties and methods such as corner radius
|
2012-06-24 12:44:08 -07:00 |
|
Eric Rowell
|
c1a08d8073
|
created new addSettersGetters method, further enhanced dynamic getters and setters
|
2012-06-23 18:09:10 -07:00 |
|
Eric Rowell
|
80eb50a708
|
added new clearBeforeDraw Layer property which enables you to skip canvas clearing before each draw. Added new warn() method to test suite, and added error and warning colorings to the test counter
|
2012-06-23 16:11:58 -07:00 |
|
Eric Rowell
|
6b36c7ed93
|
cleaned up shadow logic and defaults in _applyShadow
|
2012-06-22 19:58:36 -07:00 |
|
Eric Rowell
|
19750782c7
|
improved drawing speed by 7% by optimizing stroke(), fill(), and several other methods
|
2012-06-22 19:36:37 -07:00 |
|
Eric Rowell
|
422791a99a
|
cleaned up undefined, null, 0, and '' comparison operators. To unset a attribute, you can now set it to null, 0, or ''. Setting an attribute to undefined will have no effect
|
2012-06-22 13:15:29 -07:00 |
|
Eric Rowell
|
40a92a9988
|
added unit tests for Jonathan\'s toJSON() fix
|
2012-06-21 21:46:52 -07:00 |
|
ericdrowell
|
ca6e8f1d14
|
Merge pull request #32 from boatmeme/11a1662c0e3e8c9bd20db2ac8ff3f2572b337cb7
Calling stage.toJSON() prevents subsequent drawing on existing child layers
|
2012-06-21 21:35:01 -07:00 |
|
Eric Rowell
|
086dcd21c2
|
updated dist
|
2012-06-21 12:48:03 -07:00 |
|
Eric Rowell
|
ac3f512ab8
|
updated global object utilities
|
2012-06-21 12:47:15 -07:00 |
|
Eric Rowell
|
5765ab749b
|
converting arguments object into true array for setters, restored the original underscore.js methods, and moved radius conversion logic from the setAttrs method to a radiusChange event listener in Ellipse
|
2012-06-20 12:55:34 -07:00 |
|
Jonathan Griggs
|
11a1662c0e
|
variable cleanAttrs is a reference to node.attrs, and setting cleanAttrs[key] = undefined alters the original node.attrs causing unintended consequences for existing stage instance after calling toJSON()
|
2012-06-19 20:13:07 -06:00 |
|
Eric Rowell
|
ce5a8f3209
|
you can now cancel drag and drop with setDraggable(false) during a drag and drop operation
|
2012-06-19 17:06:31 -07:00 |
|
Eric Rowell
|
5679b1fb76
|
fixed bug with Path dataChange event subscription
|
2012-06-19 16:26:28 -07:00 |
|
Eric Rowell
|
667ee16aab
|
added more functional tests
|
2012-06-18 23:52:25 -07:00 |
|
Eric Rowell
|
76c85a639e
|
changed listen property to listening, listen() to setListening(), and isListening() to getListening() for consistency
|
2012-06-18 23:12:56 -07:00 |
|
Eric Rowell
|
c8d8aa6028
|
changed draggable() to setDraggable(). added getDraggable(). added more unit tests and functional tests
|
2012-06-18 22:02:13 -07:00 |
|
Eric Rowell
|
dee78e86e2
|
added Circle backwards compatibility with Ellipse
|
2012-06-18 19:09:07 -07:00 |
|
Eric Rowell
|
2c0aabcb9c
|
removed timeouts from functional tests and uncommented image comparison tests
|
2012-06-18 18:02:44 -07:00 |
|