Commit Graph

859 Commits

Author SHA1 Message Date
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
e65b975a6a did further refactoring of event flag handling in stage 2013-07-23 11:42:38 -07:00
Eric Rowell
4f8bd0bd3f fixed #357 and did a lot of event refactoring 2013-07-23 11:39:44 -07:00
Eric Rowell
06a8e42bee fixed up functional tests 2013-07-23 11:15:04 -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
37a15817b5 removed setDrawFuncs dependency from leaf node classes. It's handled in Shape now 2013-07-22 21:49:30 -07:00
Eric Rowell
9324c366ea standardized init method names with underscores 2013-07-22 21:41:41 -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
7341384edf fixes #509 by adding layer to the list of variables inside the stage _resizeDOM method. Otherwise it is hoisted and defined globally 2013-07-21 22:17:53 -07:00
Eric Rowell
46d69fd5d9 fixed unit tests 2013-07-21 20:49:45 -07:00
Eric Rowell
436f170ac2 fixes #510 preventDefault is no longer fired for mobile devices when an intersected shape is not listening for events 2013-07-21 20:14:09 -07:00
Eric Rowell
217fbf2097 added manual test for tween reset event 2013-07-21 16:27:40 -07:00
Eric Rowell
1a85829ccd Merge pull request #480 from mrkeldon/master
Add onReset handler for Tweens
2013-07-21 16:16:59 -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
78214099b5 Merge pull request #515 from gaddie-3/master
Added the ability to pass multiple selectors to get()
2013-07-21 14:53:14 -07:00
Eric Rowell
1914a51f7c Merge pull request #524 from ippo615/master
jsHint Cleanup and New Filters
2013-07-19 11:29:47 -07:00
ippo615
9ca025d35f Cleaned js, added tests for all convolution filters 2013-07-15 20:45:34 -04:00
ippo615
1ae9188708 Improved 'colorizing' - now any color 2013-07-15 20:09:36 -04:00
ippo615
f640d19042 Working on convolution based filters 2013-07-14 22:20:45 -04:00
ippo615
66cef11ae9 Fixed bug in color filters, added visual tests. 2013-07-11 21:57:49 -04:00
ippo615
3c49dc9536 Fixed bug in hue shifting 2013-07-11 21:05:11 -04:00
ippo615
1ef20456ba Added color filters 2013-07-11 21:02:51 -04:00
ippo615
1d375fb711 Fixed JS Hint errors 2013-07-11 19:47:33 -04: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
c79f286893 added stage mouseover and mouseout events 2013-07-05 10:38:02 -07:00
Eric Rowell
7c40333fc8 stage events can now be added without having a target node. i.e. you can bind mousedown, mouseup, click, dblclick, etc. to the stage directly 2013-07-04 00:20:28 -07:00
Luke
e0693d590b Added the ability to pass multiple selectors to get() 2013-07-03 15:53:44 -04: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
584eb5eddb fixed Tween regression 2013-06-08 20:22:34 -07:00
Eric Rowell
c0c5868f31 updated Label docs. removed old integration test files 2013-06-08 16:11:31 -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
0983531197 changed integration tests to visual tests 2013-06-08 15:21:31 -07:00
Eric Rowell
bffc886b79 added integration test for hiding the stage 2013-06-08 15:17:59 -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
0c3ada88f5 updated perf tests 2013-06-07 23:11:01 -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
05bc2e9d1f Tweens now have built-in point array support. This means thatyou can tween any numeric value, or any array of points. Very handy for Line, spline, Polygon, and Blob 2013-06-03 22:09:47 -07:00
Eric Rowell
55e775c1ff rewrote Kinetic.Tween yet again. A Kinetic.Tween is no longer made up of Tweens. A single tween instance is used, which tweens a value from 0 to 1. Kinetic.Tween then uses the value between 0 and 1 to update all of the attributes. This performs much better, and sets us up for true array tweening support 2013-06-03 21:50:14 -07:00