mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -52,6 +52,13 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
||||
val === 0 ||
|
||||
val === false;
|
||||
}
|
||||
function emptyEx(val) {
|
||||
return empty(val) ||
|
||||
(isObject(val) && (function () {
|
||||
for(v in val) return false;
|
||||
return true;
|
||||
})());
|
||||
}
|
||||
function typeOf(value) {
|
||||
return typeof value;
|
||||
}
|
||||
@@ -105,6 +112,9 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
||||
}
|
||||
}
|
||||
};
|
||||
function isA(o,c){
|
||||
return null!=c&&"undefined"!=typeof Symbol&&c[Symbol.hasInstance]?!!c[Symbol.hasInstance](o):o instanceof c
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
@@ -127,6 +137,7 @@ __PluginManager__.register('support', function(module, exports, require, global)
|
||||
isElement,
|
||||
getNode,
|
||||
extend,
|
||||
isA
|
||||
};
|
||||
|
||||
return module.exports = support;
|
||||
|
||||
Reference in New Issue
Block a user