This commit is contained in:
parent
f72fe09b22
commit
284bc7f25a
|
@ -708,6 +708,7 @@ export class LibInit extends Uninstantable {
|
||||||
}
|
}
|
||||||
else if (typeof func == 'object') {
|
else if (typeof func == 'object') {
|
||||||
for (var i in func) {
|
for (var i in func) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(func, i)) {
|
||||||
if(typeof func[i] == 'function'){
|
if(typeof func[i] == 'function'){
|
||||||
let checkObject = {};
|
let checkObject = {};
|
||||||
checkObject[i] = func[i];
|
checkObject[i] = func[i];
|
||||||
|
@ -717,6 +718,7 @@ export class LibInit extends Uninstantable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return func;
|
return func;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue