garbage collecting empty arrays in _removeName method to free up space

This commit is contained in:
Eric Rowell
2012-06-02 00:39:17 -07:00
parent 1b333bc800
commit 9f243d4a2e
5 changed files with 45 additions and 25 deletions

View File

@@ -581,7 +581,7 @@ Test.prototype.tests = {
parent.remove(nodes[0]);
test(stage.ids.myCircle === undefined, 'circle still in hash');
test(stage.names.myRect[0] === undefined, 'rect still in hash');
test(stage.names.myRect === undefined, 'rect still in hash');
},
'STAGE - set shape and layer alpha to 0.5': function(containerId) {