removeChildren() remove only first level children. close #135

This commit is contained in:
Anton Lavrenov
2016-05-14 22:06:44 +07:00
parent 0e8c99b6c2
commit 34d18efcf8
5 changed files with 6 additions and 10 deletions

View File

@@ -528,7 +528,7 @@ suite('Container', function() {
layer.draw();
assert.equal(layer.children.length, 0, 'layer should have 0 children');
assert.equal(group.children.length, 0, 'group should have 0 children');
assert.equal(group.children.length, 2, 'group still should have 2 children');
});
// ======================================================