From baaa234d731156a008aaba1a4d8adf8509319b61 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Wed, 10 Sep 2014 17:43:02 -0700 Subject: [PATCH] Update OOjs to v1.1.1 Release notes: https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.1/History.md Change-Id: I2a78dcd147def3b02314c176e51accb2cefe872e --- resources/lib/oojs/oojs.jquery.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/resources/lib/oojs/oojs.jquery.js b/resources/lib/oojs/oojs.jquery.js index 4eaf6116b1..c62df22172 100644 --- a/resources/lib/oojs/oojs.jquery.js +++ b/resources/lib/oojs/oojs.jquery.js @@ -1,12 +1,12 @@ /*! - * OOjs v1.1.0 optimised for jQuery + * OOjs v1.1.1 optimised for jQuery * https://www.mediawiki.org/wiki/OOjs * * Copyright 2011-2014 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2014-08-31T21:15:46Z + * Date: 2014-09-11T00:40:09Z */ ( function ( global ) { @@ -253,7 +253,10 @@ oo.compare = function ( a, b, asymmetrical ) { aType = typeof aValue; bType = typeof bValue; if ( aType !== bType || - ( ( aType === 'string' || aType === 'number' ) && aValue !== bValue ) || + ( + ( aType === 'string' || aType === 'number' || aType === 'boolean' ) && + aValue !== bValue + ) || ( aValue === Object( aValue ) && !oo.compare( aValue, bValue, asymmetrical ) ) ) { return false; } -- 2.20.1