Commit Graph

1468 Commits

Author SHA1 Message Date
Matt Slocum
9de8d2f806 KineticJS Unit Tests :: find with multiple names
Added unit tests to find nodes by name that have multiple names
2014-08-27 04:49:01 +00:00
Matt Slocum
0a1289c645 Unit Tests :: added Kinetic._addName 2014-08-26 22:07:43 -06:00
Matt Slocum
19672c2727 Allow nodes to have multiple names similar to css
The name field of a shape or element currently only supports a single name, but the find selector mimics css which supports multiple class names per node. This enhancement allows the name field to also support multiple names. 

For example you could name a circle: 'red circle' and a square: 'red square', and now stage.find('.red') will return both elements, but stage.find('.square') will return just the square.
2014-08-24 21:48:27 -06:00
Лаврёнов Антон
7d53f23f79 compile 2014-08-24 11:11:33 +08:00
Лаврёнов Антон
de6548f893 add mousewheel to docs 2014-08-24 11:09:43 +08:00
Лаврёнов Антон
cf15394888 Merge branch 'vmichnowicz-master' 2014-08-24 11:06:02 +08:00
Лаврёнов Антон
ba5420d900 Merge branch 'master' of github.com:vmichnowicz/KineticJS into vmichnowicz-master
Conflicts:
	src/Layer.js
2014-08-24 11:05:36 +08:00
Лаврёнов Антон
7fb330dec7 new performance test 2014-08-23 18:19:35 +08:00
Лаврёнов Антон
1b925ed5f0 better animation and sprite workflow. fix #1002, #974, #700 2014-08-23 18:11:41 +08:00
Лаврёнов Антон
3dbd5d08ad Merge branch 'YoruNoHikage-master' 2014-08-21 07:51:17 +08:00
Лаврёнов Антон
6643dcb6cc clear label test 2014-08-21 07:51:06 +08:00
Лаврёнов Антон
7970f45021 Merge branch 'master' of github.com:YoruNoHikage/KineticJS into YoruNoHikage-master 2014-08-21 07:46:39 +08:00
Лаврёнов Антон
588f7eb832 Merge branch 'mjhasbach-master' 2014-08-19 19:48:56 +08:00
Лаврёнов Антон
f326eee9da add comment 2014-08-19 19:48:40 +08:00
Лаврёнов Антон
bcadceafbd Merge branch 'master' of github.com:mjhasbach/KineticJS into mjhasbach-master 2014-08-19 19:46:37 +08:00
Лаврёнов Антон
7ea87de00c Merge remote-tracking branch 'origin/master' 2014-08-19 19:35:59 +08:00
Лаврёнов Антон
22da5892e2 resolve lint errors + some refactoring 😯 2014-08-19 19:27:46 +08:00
Anton Lavrenov
fb76cc7444 add chaining 2014-08-18 15:58:45 +08:00
Anton Lavrenov
6b9d2ad7d7 Merge pull request #996 from mjhasbach/Kinetic.Container.add_better-chaining
Kinetic.Container.add() Better Chaining
2014-08-18 15:57:50 +08:00
Matthew Hasbach
6502da45e2 Kinetic.Container.add() is now chainable when its child argument has a parent 2014-08-16 13:20:30 -04:00
Лаврёнов Антон
e3e588fa41 correct names of tests 2014-08-14 09:10:40 +08:00
Лаврёнов Антон
644369c811 circle attrs sync 2014-08-13 00:02:12 +08:00
Лаврёнов Антон
4ffa672dce ring param sync :neckbeard: fix #987 2014-08-11 23:56:13 +08:00
Лаврёнов Антон
0ffcdb57a5 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-08-10 15:52:17 +08:00
Лаврёнов Антон
df08fc01d0 fix #962 2014-08-10 15:51:43 +08:00
Anton Lavrenov
67c9a87301 Merge pull request #983 from akatakritos/fix-error-msg-grammar
Fix grammar for missing container error message
2014-08-08 23:27:06 +08:00
Matt Burke
d56d5b1646 Fix grammar for missing container error message 2014-07-29 12:47:53 -04:00
Matthew Hasbach
6fc5019f04 Kinetic.Node.moveTo() now checks if the node is already a child of the target container before removing it from the current container and adding it to the target container. 2014-07-27 21:37:50 -04:00
YoruNoHikage
90308f0eb0 cornerRadius on Tags implemented, fix #475 2014-07-02 11:56:52 +02:00
Лаврёнов Антон
d8a429ac85 ✏️ fix typo 2014-06-10 10:01:49 +08:00
Лаврёнов Антон
24f7bdbafc small optimization 2014-05-29 14:13:10 +08:00
Лаврёнов Антон
540f526c4e build 2014-05-22 23:05:52 +08:00
Лаврёнов Антон
16631f48a3 Merge branch 'master' of github.com:ericdrowell/KineticJS 2014-05-22 23:05:02 +08:00
Лаврёнов Антон
9fba09008f disable layer hit caching 2014-05-22 23:04:57 +08:00
Anton Lavrenov
91d0e43eb9 Merge pull request #934 from vmichnowicz/get-intersection-cache
make sure that `x` and `y` are integers at `_getImageData`
2014-05-21 22:21:08 +08:00
Jason Follas
8d5298d7ca Needed to include "this" when elevating iemobile mouse events to touch 2014-05-21 09:25:31 -04:00
Jason Follas
2809372d90 Merge branch 'master' of https://github.com/ericdrowell/KineticJS
Conflicts:
	test/unit/Global-test.js
2014-05-21 09:22:57 -04:00
Jason Follas
92794c2db4 tab to space 2014-05-21 09:21:01 -04:00
Victor Michnowicz
1cadfe3115 Actually fix IE mouse position float error 2014-05-20 10:35:41 -04:00
Victor Michnowicz
ed9d9cdff0 Fix for IE reporting mouse position as float 2014-05-20 10:23:40 -04:00
Лаврёнов Антон
68f8ea335e cleaning docs 2014-05-20 18:09:02 +08:00
Лаврёнов Антон
f573b3a76b optional warnings displaying 2014-05-20 17:57:39 +08:00
Лаврёнов Антон
7e3803bdd1 better layers width() and height() workflow 2014-05-20 17:52:22 +08:00
Лаврёнов Антон
acac6e402f Merge branch 'vmichnowicz-get-intersection-cache' 2014-05-17 21:11:02 +08:00
Лаврёнов Антон
1db8fec21c test + refactoring 2014-05-17 21:10:49 +08:00
Лаврёнов Антон
012db6594c Merge branch 'get-intersection-cache' of git://github.com/vmichnowicz/KineticJS into vmichnowicz-get-intersection-cache
Conflicts:
	src/Container.js
	src/Shape.js
2014-05-17 13:16:45 +08:00
Victor Michnowicz
70564cc1e4 Update clearing of getImageData cache 2014-05-17 00:06:46 -04:00
Лаврёнов Антон
c34873d8c1 mouse dragging only with left button. fix #272 2014-05-16 22:52:17 +08:00
Лаврёнов Антон
7412f76a39 build 2014-05-15 23:45:04 +08:00
Лаврёнов Антон
16511a9aef remove all events with node.off() 2014-05-15 23:45:04 +08:00