From: James D. Forrester Date: Thu, 11 Sep 2014 00:43:02 +0000 (-0700) Subject: Update OOjs to v1.1.1 X-Git-Tag: 1.31.0-rc.0~14078 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=baaa234d731156a008aaba1a4d8adf8509319b61;p=lhc%2Fweb%2Fwiklou.git Update OOjs to v1.1.1 Release notes: https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.1/History.md Change-Id: I2a78dcd147def3b02314c176e51accb2cefe872e --- 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; }