summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/core.js')
-rw-r--r--js/vendor/jquery/src/core.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/vendor/jquery/src/core.js b/js/vendor/jquery/src/core.js
index da6aa833a..6f471eef4 100644
--- a/js/vendor/jquery/src/core.js
+++ b/js/vendor/jquery/src/core.js
@@ -478,7 +478,12 @@ jQuery.each("Boolean Number String Function Array Date RegExp Object Error".spli
});
function isArraylike( obj ) {
- var length = obj.length,
+
+ // Support: iOS 8.2 (not reproducible in simulator)
+ // `in` check used to prevent JIT error (gh-2145)
+ // hasOwn isn't used here due to false negatives
+ // regarding Nodelist length in IE
+ var length = "length" in obj && obj.length,
type = jQuery.type( obj );
if ( type === "function" || jQuery.isWindow( obj ) ) {