Лаврёнов Антон
6de66f18af
config first
2013-11-12 19:03:15 +08:00
Лаврёнов Антон
d4b2892c13
toImage improvement
2013-11-12 18:57:58 +08:00
ippo615
6e25195fb7
Fixed #639
2013-10-13 15:35:29 -04:00
Andrew Ippoliti
1dbbf3d301
Merge pull request #626 from kzhdev/fix-node-_fire-error
...
Don't use cached event listener length in node._fire because changing shape attribute could remove kinetic event handler from the array which will cause 'hander of undefined' error
2013-10-10 20:11:17 -07:00
Eric Rowell
4ed8ac8088
updated on() docs to include content events
2013-10-08 09:54:39 -07:00
kzhdev
0435be4359
remove unused variable.
2013-10-04 14:43:08 -05:00
kzhdev
809b8b82e9
Don't use cached event listener length in node._fire because changing shape attribures in a event could remove kinetic event handler from the array which willl cause 'hander of undefined' error.
2013-10-04 14:03:50 -05:00
Eric Rowell
c40fc7cf38
removed Global namespace. global stuff is now just global, inside the Kinetic namespace. There was no reason to have a secondary level for global vars
2013-09-08 22:02:04 -07:00
Eric Rowell
7ac45b7c4c
migrated Ellipse test to Mocha, and finished up context wrapper methods
2013-09-02 21:16:26 -07:00
Eric Rowell
3ba89d36e7
introduced new Context class. I've bumped up the next release to v4.7.0 because this is a relatively big mind shift in how the framework works, and it's a big enough API change to warrant a minor update. This is the first step towards enabling context tracing for stellar unit testing
2013-08-31 21:49:18 -07:00
Eric Rowell
bf39df54b0
Merge branch 'master' of github.com:ericdrowell/KineticJS
2013-08-25 00:35:53 -07:00
Eric Rowell
ae66350d7f
fixed #577
2013-08-25 00:34:49 -07:00
ippo615
80adc253fa
Fixed Issue #572 (and other js hint warnings)
2013-08-23 22:31:06 -04:00
Eric Rowell
2cf0a690f9
fixed up dd regression
2013-08-12 03:00:08 -07:00
Eric Rowell
d49ae15207
getStage() result is now cached. refactored caching system even further.
2013-08-11 20:34:54 -07:00
Eric Rowell
64d6c79a6a
moved factory logic out of Node.js to Factory.js
2013-08-10 21:11:34 -07:00
Eric Rowell
db98fec243
added new crop methods
2013-08-10 20:30:25 -07:00
Eric Rowell
b8e3f10d3a
getVisible returns the visible attr. isVisible takes ancestors into account. getListening returns listening attr. isListening takes ancestors into account. added unit tests.
2013-08-10 16:19:33 -07:00
Eric Rowell
35db1f7a8b
improved transform caching
2013-08-10 14:19:53 -07:00
Eric Rowell
0d6b8bdd79
fixed drag and drop regression by busting the transform cache inside the clearTransform method
2013-08-10 13:59:31 -07:00
Eric Rowell
1c51d65a93
caching system now relies on attr change events to clear the appropriate cache attrs
2013-08-10 13:04:02 -07:00
Eric Rowell
6f078dc127
now caching absolute opacity
2013-08-10 11:55:52 -07:00
Eric Rowell
86bd4ddfa9
reworked caching system
2013-08-10 11:24:24 -07:00
Eric Rowell
d902e6dca0
absolute transforms are now cached
2013-08-10 00:58:53 -07:00
Eric Rowell
a0a2d9a676
visible attr is now cacheable
2013-08-09 23:00:35 -07:00
Eric Rowell
41dea5300a
reworked _getCache implementation
2013-08-09 22:31:25 -07:00
Eric Rowell
3933568b45
implemented _getCache() method which every getter will use to try and get/set cached attrs
2013-08-09 22:23:27 -07:00
Eric Rowell
cb5cb66256
started setting up new caching system
2013-08-09 21:09:06 -07:00
Eric Rowell
7700ecc70b
draw events no longer bubble. It was causing too much of a performance hit, and didn't provide a whole lot of value. Now, only layers fire draw events
2013-08-09 20:22:51 -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
1fc57bed4c
removed createAttrs method and cleaned up init logic
2013-07-22 22:05:21 -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
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
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
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
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
77793aed60
lots of jshinting
2013-06-01 22:03:02 -07:00
Eric Rowell
7b9322c15c
custom builds that do not include drag and drop now work correctly fixes #465
2013-05-31 23:36: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
35b1f61bda
tied className into toJSON and create. deprecated shapeType property and getShapeType method
2013-05-19 21:48:48 -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
2ea5f83204
more docs, especially for Util and Tween
2013-05-18 10:40:05 -07:00
Eric Rowell
993ffd7b0e
finished base constructor examples for core shape docs
2013-05-17 20:56:24 -07:00
Eric Rowell
4d682529b6
added more example docs
2013-05-17 15:35:21 -07:00
Eric Rowell
7c03f56ae9
added lots of constructor example docs
2013-05-17 15:09:57 -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