bug fix #29 bug fix #143 when node.remove() is called, parent property is unset. Also migrated remove tests from containerTests to nodeTests.

This commit is contained in:
Eric Rowell
2012-11-24 23:19:16 -08:00
parent 60db1a2d43
commit 48e014fe01
4 changed files with 251 additions and 262 deletions

View File

@@ -171,6 +171,7 @@ Kinetic.Node = (function() {
while(this.children && this.children.length > 0) {
this.children[0].remove();
}
delete this.parent;
}
},
/**