mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 06:55:17 +08:00
merged with latest trunk
This commit is contained in:
commit
90ba0d9a78
2
dist/kinetic-core.js
vendored
2
dist/kinetic-core.js
vendored
@ -2824,7 +2824,7 @@ Kinetic.Stage.prototype = {
|
||||
// serialize only attributes that are not function, image, DOM, or objects with methods
|
||||
for(var key in node.attrs) {
|
||||
var val = node.attrs[key];
|
||||
if(!type._isFunction(val) && !type._isElement(val) && !type._hasMethods(val)) {
|
||||
if(!type._isFunction(val) && !type._isElement(val) && !(type._isObject(val) && type._hasMethods(val))) {
|
||||
obj.attrs[key] = val;
|
||||
}
|
||||
}
|
||||
|
6
dist/kinetic-core.min.js
vendored
6
dist/kinetic-core.min.js
vendored
File diff suppressed because one or more lines are too long
@ -149,7 +149,7 @@ Kinetic.Stage.prototype = {
|
||||
// serialize only attributes that are not function, image, DOM, or objects with methods
|
||||
for(var key in node.attrs) {
|
||||
var val = node.attrs[key];
|
||||
if(!type._isFunction(val) && !type._isElement(val) && !type._hasMethods(val)) {
|
||||
if(!type._isFunction(val) && !type._isElement(val) && !(type._isObject(val) && type._hasMethods(val))) {
|
||||
obj.attrs[key] = val;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user