better extend function

This commit is contained in:
lavrton
2015-01-20 17:22:51 +07:00
parent 46bb48e470
commit 87236a88e2
7 changed files with 95 additions and 58 deletions

View File

@@ -528,7 +528,7 @@
if(config) {
for(key in config) {
if (key === CHILDREN) {
if (key === CHILDREN || config[key] instanceof Kinetic.Node) {
}
else {