mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -260,6 +260,16 @@ __PluginManager__.register('support', function(require, exports, module, global)
|
||||
function isDomObject(o) {
|
||||
return isNode(o) || isElement(o) || isNodeList(o);
|
||||
}
|
||||
function isEqualArrayValues(x, y, strict = false) {
|
||||
var n = typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y);
|
||||
if(n){
|
||||
return true;
|
||||
}
|
||||
if(strict){
|
||||
return x === y;
|
||||
}
|
||||
return x == y;
|
||||
}
|
||||
/**
|
||||
* @param selector
|
||||
* @return Element
|
||||
@@ -518,6 +528,7 @@ __PluginManager__.register('support', function(require, exports, module, global)
|
||||
isInteger,
|
||||
isFloat,
|
||||
isString,
|
||||
isFunction,
|
||||
isNode,
|
||||
isNodeList,
|
||||
isDomObject,
|
||||
@@ -540,7 +551,8 @@ __PluginManager__.register('support', function(require, exports, module, global)
|
||||
getObjProp,
|
||||
whichAnimationEvent,
|
||||
whichTransitionEvent,
|
||||
namespace
|
||||
namespace,
|
||||
isEqualArrayValues
|
||||
};
|
||||
|
||||
return module.exports = support;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user