mirror of
https://github.com/konvajs/konva.git
synced 2025-12-17 18:01:15 +08:00
better extend function
This commit is contained in:
@@ -528,7 +528,7 @@
|
||||
|
||||
if(config) {
|
||||
for(key in config) {
|
||||
if (key === CHILDREN) {
|
||||
if (key === CHILDREN || config[key] instanceof Kinetic.Node) {
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user