fixed #454
This commit is contained in:
parent
c908002175
commit
39847b8929
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
let methods = {};
|
let methods = {};
|
||||||
Object.keys($parent).forEach(key => {
|
Object.keys($parent).forEach(key => {
|
||||||
const func = $parent[key];
|
const func = $parent[key];
|
||||||
if (typeof(func) === 'function' && func.name === 'boundFn') {
|
if (typeof(func) === 'function' && (func.name === 'boundFn' || func.name === 'n')) {
|
||||||
methods[key] = func;
|
methods[key] = func;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue