Commit Graph

66 Commits

Author SHA1 Message Date
Anton Lavrenov
7b6d97aaa5 build and apply prettier 2017-07-28 18:40:07 +02:00
Anton Lavrenov
6b599a35c4 remove dead code 2017-03-20 06:47:09 -05:00
Anton Lavrenov
59cc7b99f2 setup prettier and make all code better 2017-02-24 09:15:33 -05:00
Anton Lavrenov
e731d0ccfe animation improvements 2016-05-14 21:49:44 +07:00
Anton Lavrenov
9f5e8938b7 batchDraw will not do immediate draw() 2016-04-19 16:16:58 +07:00
Anton Lavrenov
40a30f1c84 update CHANGELOG with new version 2016-04-07 11:03:51 +07:00
Anton Lavrenov
87ded69dc0 shorter batchDraw func 2016-04-07 11:02:18 +07:00
Anton Lavrenov
3c1e2804de better HDPI support
update packages
2016-02-28 16:57:15 +08:00
Anton Lavrenov
1a4c50cfaa global & UMD cleaning 2016-01-02 17:47:58 +08:00
Anton Lavrenov
2a514ee580 return this from several methods. close #111 2015-12-22 17:19:33 +07:00
lavrton
bd910a8bc7 linting fixes 2015-10-22 07:32:07 +02:00
Anton Lavrenov
2908fa975b migrate to eslint 2015-05-04 16:02:16 +07:00
Jovination
607ef1837b Renaming 2015-01-27 00:07:51 -07:00
Лаврёнов Антон
0e2136387c fix #1018 2014-09-23 15:05:30 +08:00
Лаврёнов Антон
1b925ed5f0 better animation and sprite workflow. fix #1002, #974, #700 2014-08-23 18:11:41 +08:00
Лаврёнов Антон
22da5892e2 resolve lint errors + some refactoring 😯 2014-08-19 19:27:46 +08:00
Лаврёнов Антон
e24a9c4b03 refactor + docs 2014-05-01 09:24:51 +08:00
Лаврёнов Антон
aa113f602c Merge branch 'drag-performance-improvement' of git://github.com/kzhdev/KineticJS into kzhdev-drag-performance-improvement 2014-05-01 08:44:44 +08:00
Лаврёнов Антон
577b6c555c remove eval statement. fix #906 2014-04-26 17:25:21 +08:00
Лаврёнов Антон
6f26aa2558 batchDraw is BaseLayer method. fix #893 2014-04-10 23:00:12 +08:00
Eric Rowell
2df46b4ace striped out br tags from the docs 2014-04-03 20:17:09 -07:00
Лаврёнов Антон
9397a96127 Better NodeJS support (full stage support) 2014-02-28 10:37:57 +08:00
Лаврёнов Антон
c8ddd27c2c Alpha nodejs support 2014-02-27 19:55:39 +08:00
Лаврёнов Антон
eb16e29197 only lint errors fixes 2014-02-27 08:49:18 +08:00
Eric Rowell
f8ccd574cb made several optimizations to the Animation class. removed FRAF logic. Using performance.now when available. No longer creating a new function for every animation loop. requestAnimFrame is now called before render instead of after 2014-02-19 08:39:38 -08:00
kzhdev
7f3bcdeb78 improve drag performance by avoid unnecessary drawing 2014-02-04 12:05:52 -06:00
Eric Rowell
f5d5e26e5e fixed pixel ratio issue with buffer canvas usage 2013-11-02 22:31:09 -07:00
Eric Rowell
31817132d2 using Kinetic.isDragging in Animation class 2013-10-08 09:11:29 -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
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
3f67cc8b60 got started on jshint errors. still a lot to do 2013-06-01 16:23:31 -07:00
Eric Rowell
7069bf9e0c stage tweens now work correctly. getChildren() and getLayers() now return a Kinetic.Collection. added toArray() method to Kinetic.Collection 2013-05-19 21:07:43 -07:00
Eric Rowell
056346c14d even more documentation 2013-05-18 22:30:57 -07:00
Eric Rowell
b1025be75e updated docs in prep for jsdoc3 migration 2013-05-15 09:27:22 -07:00
Eric Rowell
09c2a461c7 fix #442 2013-05-11 20:07:20 -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
622041aeaf added Tween class which replaces the old Transition class 2013-05-10 22:10:05 -07:00
Eric Rowell
ddee366f96 pointed to FRAF for cases when requestAnimationFrame isn't available 2013-05-09 09:45:30 -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
e2d6993c89 added Global.addMethods() method and defined core constructors in Global 2013-05-07 23:17:57 -07:00
Eric Rowell
8f06f1eb67 heavily updated documentation 2013-05-07 10:19:54 -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
Eric Rowell
bf8d2db0df multiple transitions on the same node are now supported 2013-04-28 14:14:45 -07:00
Eric Rowell
ce793a4b25 refactored / cleaned up code in Node and DD 2013-03-23 22:56:22 -07:00
Eric Rowell
be295992e0 when parent and children are both draggable, the lowest level child draggable property now has priority over ancestors. Refactored dependency order in thorfile 2013-01-27 21:29:22 -08:00
Eric Rowell
1502819e9b fixed up Animation docs 2013-01-13 22:52:31 -08:00
Eric Rowell
bc92dc2b6b drag and drop uses a fixed frame rate again 2013-01-13 21:52:31 -08:00
Eric Rowell
8ed84f474a fixed several memory issues with transition logic. Heavily refactored Transition module. New Animation isRunning method. destroy() method now correctly stops currently running transitions. added several transition and destroy related unit tests 2013-01-13 19:59:35 -08:00
Eric Rowell
ffaa108830 removed animations length cached variable because the length can change while the for loop is running 2013-01-09 08:27:57 -08:00