Commit Graph

156 Commits

Author SHA1 Message Date
Eric Rowell
a0a2d9a676 visible attr is now cacheable 2013-08-09 23:00:35 -07:00
Eric Rowell
cb5cb66256 started setting up new caching system 2013-08-09 21:09:06 -07:00
Eric Rowell
a3da0211d8 fixed blob regression bug. added unit test for setTension() 2013-07-28 00:03:56 -07:00
Eric Rowell
e5c52a92f0 updated build process. dev version no longer pulls the version number from the package.json file. It instead always uses dev. Also set some things up for -beta build support 2013-07-27 21:09:33 -07:00
Eric Rowell
57a9313a7b all kinetic specific listeners now have the kinetic namespace. off no longer removes listeners with a kinetic namespace, unless you force remove it via .kinetic 2013-07-24 22:56:21 -07:00
Eric Rowell
7a1b854a12 #291 added unit test for creating a blob via json who has the tension defined before the points array 2013-07-24 21:57:45 -07:00
Eric Rowell
85c99c1bb9 fixes 400 2013-07-23 10:47:06 -07:00
Eric Rowell
3eea92d72e added validation for add(). An error is thrown if an invalid node is added 2013-07-22 22:47:13 -07:00
Eric Rowell
1fc57bed4c removed createAttrs method and cleaned up init logic 2013-07-22 22:05:21 -07:00
Eric Rowell
ecdd5cc59a new stage batchDraw() method. draw events are now triggered on drawScene() as well as draw() 2013-07-21 23:41:05 -07:00
Eric Rowell
1d5eff629a canvas left and top inline styles are now set to 0 2013-07-21 23:14:41 -07:00
Eric Rowell
46d69fd5d9 fixed unit tests 2013-07-21 20:49:45 -07:00
Eric Rowell
e6a9324d50 last pull request completely broke the unit tests. had to rewrite the get() logic so that it was correct 2013-07-21 16:05:40 -07:00
Eric Rowell
1cbc3dd31c improved batch draw logic. Each layer isntance now has access to its own batch draw animation 2013-07-05 20:42:02 -07:00
Eric Rowell
f85c6b1392 added new addPoint method which allows you to add a single point to the points array without swapping the whole thing 2013-06-27 23:28:57 -07:00
Eric Rowell
812ea103f2 added tween.destroy() method + unit tests 2013-06-09 00:28:39 -07:00
Eric Rowell
b86aa11d47 fix #352 also did major remove and destroy refactoring, and added lots of unit and visual tests 2013-06-08 15:57:36 -07:00
Eric Rowell
e8c9e7966f when a new stage is instantiated, it now clears the container DOM element 2013-06-08 14:29:58 -07:00
Eric Rowell
79c3124ed7 Spline no longer extends Line. Blob no longer extends Spline. point getter setters were extracted out to Node. control point expansion method in Spline was pulled out and put in Util 2013-06-08 14:17:26 -07:00
Eric Rowell
e8ea9340fe added points Node getter and setter creators for Line and Polygon 2013-06-08 11:11:49 -07:00
Eric Rowell
007ad76680 added new destroyChildren() method 2013-06-06 23:03:00 -07:00
Eric Rowell
ffc33a7676 removeChildren now removes all descendants. returned this for all applicable methods in Node, Layer, Stage, and Shape 2013-06-06 22:45:31 -07:00
Eric Rowell
824e9fdbee brought back Ellipse and ellipse tests 2013-06-06 22:07:53 -07:00
Eric Rowell
51643bcada fixed Chrome 27 bug which was drawing circles as rectangles 2013-06-06 21:56:40 -07:00
Eric Rowell
8a5ad235bd added some tween unit tests. all tween methods now return this 2013-06-04 22:39:11 -07:00
Eric Rowell
a3fe5b05ca pulled all integration tests out of the unit test suite and put them into integrationTests.js. updated test suite index page 2013-06-02 12:16:39 -07:00
Eric Rowell
2409b99844 removed Ruby build files, and updated readme with Grunt instructions 2013-06-01 16:03:50 -07:00
Eric Rowell
616e5d98f4 dev version will now be 0.0.0 instead of current. current is an invalid value for the version key in the package.json file for grunt 2013-06-01 15:58:14 -07:00
Eric Rowell
324d841ed4 mousedown and touchstart events now always call preventDefault 2013-05-31 23:04:07 -07:00
Eric Rowell
3cfd49a03e updated tests 2013-05-21 21:22:22 -07:00
Eric Rowell
2f43f26418 fixed Label regression 2013-05-21 00:13:32 -07:00
Eric Rowell
ffbf0245e2 fixed #460 2013-05-20 22:41:13 -07:00
Eric Rowell
c7816642d7 fixes #414 2013-05-20 22:12:43 -07:00
Eric Rowell
4ef1a82bc8 rewrote Label API. Group plugins now require that children are added to the base class 2013-05-20 21:58:57 -07:00
Eric Rowell
ae326a9c89 label offsets, serialization, and deserialization now work. fixes #406 2013-05-20 09:42:16 -07:00
Eric Rowell
35b1f61bda tied className into toJSON and create. deprecated shapeType property and getShapeType method 2013-05-19 21:48:48 -07:00
Eric Rowell
056346c14d even more documentation 2013-05-18 22:30:57 -07:00
Eric Rowell
3433086079 changed getIntersections() to getAllIntersections() to indicate that the method returns more than may be needed. Updatee docs, and clarified the differences between intersects(), getIntersection(), and getAllIntersections() 2013-05-17 15:50:53 -07:00
Eric Rowell
47364c63cd deprecated getNodeType(), added className property to label, and added lots of Node doc examples 2013-05-17 11:46:06 -07:00
Eric Rowell
b1d1981fe9 added getType() and getClassName() methods. beefed up on() docs 2013-05-17 10:51:56 -07:00
Eric Rowell
8c9d2b5459 setAttr() is now a public method that can be used to set Kinetic attrs, or custom attrs 2013-05-14 22:37:33 -07:00
Eric Rowell
e024b43906 deprecated Ellipse shape, since you can create ellipses now with circles. updated tests 2013-05-13 22:19:51 -07:00
Eric Rowell
264d98c1ce polished up the new Tween class. goto changed to seek. auto property conflict resolution. onFinish can now be set 2013-05-11 16:43:09 -07:00
Eric Rowell
032eb9e4db updated docs 2013-05-08 09:44:03 -07:00
Eric Rowell
76a399bfc0 major refactor of directory structure. Killed Util directory. Created Util.js file instead. Moved general purpose methods from Global to Util 2013-05-07 23:51:02 -07:00
Eric Rowell
8f06f1eb67 heavily updated documentation 2013-05-07 10:19:54 -07:00
Eric Rowell
2610851e4b fixed up radial gradients 2013-05-05 23:07:55 -07:00
Eric Rowell
8dc1666595 removed Transition, Tween, and transition tests from source. KineticJS has now partnered with GS to handle its Tweens (which it does marvelously) 2013-05-05 22:15:04 -07:00
Eric Rowell
11f269868f added batchDraw which enables you to call batchDraw() as many times as you want, and let Kinetic automatically combine layer draws together asynchronously 2013-05-05 22:09:32 -07:00
Eric Rowell
e66e147274 Animations can now be tied to multiple layers. Removed Transition and Tween class from the build. Unhooked transition unit and manual tests for now. Added new animation setLayers() and getLayers() methods 2013-05-05 20:57:31 -07:00