This commit is contained in:
2024-11-16 21:12:09 +03:00
parent c8c76d59df
commit 589ac5cf0f
13 changed files with 141 additions and 48 deletions
+13 -1
View File
@@ -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;
+1 -1
View File
File diff suppressed because one or more lines are too long