From acfa9695eb7a25f83cb732b3afb24ca7f1691d27 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 29 Apr 2015 17:19:16 +0100 Subject: [PATCH] Update jQuery from v1.11.2 to v1.11.3 This release ships a hot-fix for a JIT bug in iOS 8.2 and 8.3. This is the only change. Source code https://code.jquery.com/jquery-1.11.3.js Release notes http://blog.jquery.com/2015/04/28/jquery-1-11-3 Change-Id: I5f23b24ae4481749b32e469bb83663361f706e97 --- RELEASE-NOTES-1.25 | 2 +- resources/lib/jquery/jquery.js | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES-1.25 b/RELEASE-NOTES-1.25 index 9d8487cb55..8bc51be505 100644 --- a/RELEASE-NOTES-1.25 +++ b/RELEASE-NOTES-1.25 @@ -84,7 +84,7 @@ production. this allows for pagination of prefix results. Extensions using this hook should implement supporting behavior. Not doing so can result in undefined behavior from API clients trying to continue through prefix results. -* Update jQuery from v1.11.1 to v1.11.2. +* Update jQuery from v1.11.1 to v1.11.3. * External libraries installed via composer will now be displayed on Special:Version in their own section. Extensions or skins that are installed via composer will not be shown in this section as it is assumed diff --git a/resources/lib/jquery/jquery.js b/resources/lib/jquery/jquery.js index 1c3aa8228f..6feb11086f 100644 --- a/resources/lib/jquery/jquery.js +++ b/resources/lib/jquery/jquery.js @@ -1,5 +1,5 @@ /*! - * jQuery JavaScript Library v1.11.2 + * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js @@ -9,7 +9,7 @@ * Released under the MIT license * http://jquery.org/license * - * Date: 2014-12-17T15:27Z + * Date: 2015-04-28T16:19Z */ (function( global, factory ) { @@ -64,7 +64,7 @@ var support = {}; var - version = "1.11.2", + version = "1.11.3", // Define a local copy of jQuery jQuery = function( selector, context ) { @@ -569,7 +569,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 ) ) { -- 2.20.1