Commit Graph

11 Commits

Author SHA1 Message Date
Eric Rowell
b6ba1a503c ids and names hashes used for node selection via get() has moved to Global in order to greatly simplify the selection logic. This means that node ids and names are shared across all stages. If two stages each have a node with the same id, only the last id set will be accessibile (similar to DOM) 2013-01-13 11:10:49 -08:00
Eric Rowell
ed579e4843 added new destroy Node method which removes and destroys a node. remove() now simply removes a node from the stage. You can re add the node at a later time with add(). getDOM() changed to getContent(). stage.remove() now correctly removes content node 2013-01-12 22:01:12 -08:00
Eric Rowell
b542fbb188 finished updating unit tests. All tests now pass 2013-01-02 22:08:34 -08:00
Eric Rowell
f3a1e9a247 new spline attr for the Line shape which enables splines 2012-12-31 19:24:35 -08:00
Eric Rowell
291583148b moved all rendering logic into the Canvas renderer modules. Shape draw funcs are now passed a renderer object, not a canvas context. The context is accessible via canvas.getContext() 2012-12-09 09:52:33 -08:00
Eric Rowell
5705d909e5 changed test to warn for node and shape selector unit test, and added more info in the README Testing section 2012-12-03 19:54:58 -08:00
Eric Rowell
48e014fe01 bug fix #29 bug fix #143 when node.remove() is called, parent property is unset. Also migrated remove tests from containerTests to nodeTests. 2012-11-24 23:19:16 -08:00
Eric Rowell
94c3c913cb cleaned up unit test data urls. All unit tests now pass with no warnings 2012-11-24 22:48:23 -08:00
Eric Rowell
0e6eb3ffe4 fixed up some text shadow issues 2012-11-24 09:15:02 -08:00
Eric Rowell
0e514f7810 fixed up text path draw func 2012-11-24 00:05:37 -08:00
Eric Rowell
a5e23c426d restructured unit tests and created a unit test build target which concatenates source test files 2012-11-13 21:37:28 -08:00