This commit is contained in:
2021-11-18 20:48:04 +03:00
parent 4e9df6c81b
commit 5e7b4c6707
22 changed files with 1160 additions and 345 deletions
+11
View File
@@ -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;