Commit Graph

1487 Commits

Author SHA1 Message Date
Eric Rowell
e6b44bb75d fixed #539 and also added size() overloader 2014-03-20 20:39:40 -07:00
Eric Rowell
a9b63fc8ed added new BaseLayer, which Layer and FastLayer extend 2014-03-20 11:15:55 -07:00
Robin Larson
513ff1ec32 Update Stage.js
At this time, only single finger touch is supported. However, if the first pointer event the stage receives is a multi-touch event, the value of stage.pointerPos will be left undefined. This causes:
```
`TypeError: 'undefined' is not an object (evaluating 'pos.x')`
```
in all internal the touch event handers. 
I suggest always using the location of the first finger in this case.
2014-03-20 13:33:16 -04:00
Eric Rowell
40dfbef81e added memory test for text shape create/destroy 2014-03-19 10:31:51 -07:00
Eric Rowell
4a75a6e220 added memory test for destroy/rebuilt 2014-03-19 09:59:07 -07:00
Лаврёнов Антон
6e1c75ceb7 cache before adding to layer test 2014-03-15 18:27:37 +08:00
Лаврёнов Антон
30d73c354d disable cache function for stage 2014-03-15 16:58:26 +08:00
Лаврёнов Антон
62e28dbd3c some docs improvements 2014-03-14 13:20:39 +08:00
Лаврёнов Антон
2bcb7bdab2 Merge branch 'master' of git://github.com/vmichnowicz/KineticJS into vmichnowicz-master 2014-03-14 12:56:14 +08:00
Victor Michnowicz
0898c24b7a add() now can add multiple layers or nodes 2014-03-13 23:30:46 -04:00
Лаврёнов Антон
0b93e21e0b add dragDistance to node config docs 2014-03-12 00:06:31 +08:00
Лаврёнов Антон
b8945b8fed Debug info while caching 2014-03-12 00:01:58 +08:00
Лаврёнов Антон
b364af6f4d Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-11 23:15:20 +08:00
Лаврёнов Антон
d0c7aed452 tests for drag distance 2014-03-11 23:14:03 +08:00
Лаврёнов Антон
f3033dd173 Merge branch 'master' of git://github.com/kastigar/KineticJS into kastigar-master 2014-03-11 22:22:58 +08:00
Eric Rowell
e7175824a1 commenting out assertions that are failing in Travis CI. The tests pass perfectly locally in both a browser and PhantomJS. will need to investigate 2014-03-10 00:19:14 -07:00
Eric Rowell
f2861ca1b8 fixed up another unit test 2014-03-09 23:12:28 -07:00
Eric Rowell
396ca81764 fixed up unit tests 2014-03-09 23:07:31 -07:00
Eric Rowell
aa7f56be26 fixed up caching now that transformsEnabled attr has been removed 2014-03-09 22:59:53 -07:00
Eric Rowell
a2ec418fe8 reenabling all tests 2014-03-09 13:24:38 -07:00
Eric Rowell
852ef7056d added perf tests for new FastLayer 2014-03-09 13:15:01 -07:00
Eric Rowell
a9ecfd74a2 Merge branch 'master' of git://github.com/ericdrowell/KineticJS 2014-03-09 12:41:25 -07:00
Eric Rowell
c623666206 deprecated transformsEnabled property. Continued developing the new FastLayer class 2014-03-09 12:41:16 -07:00
Лаврёнов Антон
8443a3876a Merge branch 'fix-duplicate-test-names' of git://github.com/dpbevin/KineticJS into dpbevin-fix-duplicate-test-names 2014-03-09 13:08:20 +08:00
Anton Lavrenov
720476ab94 Merge pull request #781 from guycook/master
Shape.hasShadow cache invalidation fix
2014-03-09 10:09:06 +08:00
Eric Rowell
df9d6cabd2 enabled all tests 2014-03-08 18:05:39 -08:00
Eric Rowell
09af9f62dd setup FastLayer. Layer won't extend FastLayer until FastLayer is complete 2014-03-08 18:05:14 -08:00
Лаврёнов Антон
45ddf95629 better cloning of node: array copied as copy, nor reference 2014-03-08 10:50:53 +08:00
Лаврёнов Антон
d65201a12f stage clone has new container. fix #707 2014-03-07 22:51:26 +08:00
Лаврёнов Антон
452c99cb4e default shadow opacity should be 1. fix #696 2014-03-07 19:13:52 +08:00
Лаврёнов Антон
6db2694637 fix #663 2014-03-07 18:20:03 +08:00
kzhdev
833c470504 add test 2014-03-06 20:30:04 -06:00
Лаврёнов Антон
9e51e22711 fix clockwise docs 2014-03-05 16:37:32 +08:00
kzhdev
4e0ad926bf fix an issue where DblClick event fired right after dragging 2014-03-04 14:27:38 -06:00
Лаврёнов Антон
347e4d697f replace bitwise OR with Math.round 2014-03-04 20:04:39 +08:00
Лаврёнов Антон
e136a69e12 update NodeJS example 2014-03-04 19:43:06 +08:00
Лаврёнов Антон
a0aa0d9f80 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-04 19:35:41 +08:00
Лаврёнов Антон
798d1acf28 Pure NodeJS environment test runner: grunt node-test 2014-03-04 19:35:26 +08:00
Лаврёнов Антон
a524ba9ec1 fix #767 2014-03-03 19:24:00 +08:00
Anton Lavrenov
3d4d90cb4b Merge pull request #790 from kzhdev/performance-improvement
Improve getIntersection performance.
2014-03-03 18:06:13 +07:00
Лаврёнов Антон
e5db9115a0 black list for clone function. fix #583 2014-03-02 21:51:35 +08:00
Лаврёнов Антон
53ac9329de isRunning function for Sprite object 2014-03-02 10:46:45 +08:00
Лаврёнов Антон
86178185bc optional filter callback for getChildren function. close #313 2014-03-02 09:25:22 +08:00
Лаврёнов Антон
3a5b6eb766 Faster removeChildren and destroyChildren methods 2014-03-02 08:21:11 +08:00
Лаврёнов Антон
74060ce935 add function takes care about parent existence. fix #426, #434 2014-03-02 07:50:51 +08:00
Лаврёнов Антон
cadcb91fbc ignoring index functions (moveToTop, moveUp, moveDown, moveToBottom, setZIndex) if node has no parent 2014-03-01 20:23:37 +08:00
Лаврёнов Антон
0821d7c99d Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-03-01 20:16:27 +08:00
Лаврёнов Антон
30f80dfd80 Auto create Stage container in nodejs 2014-03-01 18:09:27 +08:00
Лаврёнов Антон
046ca0257b Useful message if stage container is not founded 2014-03-01 17:45:35 +08:00
Eric Rowell
980918f710 promoting version to 5.02 in package.json file. This is the version we are working on 2014-02-27 19:16:25 -08:00