From 8aa358f7cd48f69da8a6addb48a00f70766a8661 Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 23 Jul 2015 12:18:59 -0700 Subject: [PATCH] Update OOjs to v1.1.8 Release notes: https://git.wikimedia.org/blob/oojs%2Fcore.git/v1.1.8/History.md Change-Id: Ica8fe2007fa93b233fcef1675c29981d759b74a8 --- resources/lib/oojs/oojs.jquery.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/resources/lib/oojs/oojs.jquery.js b/resources/lib/oojs/oojs.jquery.js index d87183e3a5..6e7851a507 100644 --- a/resources/lib/oojs/oojs.jquery.js +++ b/resources/lib/oojs/oojs.jquery.js @@ -1,12 +1,12 @@ /*! - * OOjs v1.1.7 optimised for jQuery + * OOjs v1.1.8 optimised for jQuery * https://www.mediawiki.org/wiki/OOjs * * Copyright 2011-2015 OOjs Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2015-04-29T01:13:49Z + * Date: 2015-07-23T19:16:00Z */ ( function ( global ) { @@ -698,12 +698,9 @@ oo.isPlainObject = $.isPlainObject; /** * Emit an event. * - * TODO: Should this be chainable? What is the usefulness of the boolean - * return value here? - * * @param {string} event Type of event * @param {Mixed} args First in a list of variadic arguments passed to event handler (optional) - * @return {boolean} If event was handled by at least one listener + * @return {boolean} Whether the event was handled by at least one listener */ oo.EventEmitter.prototype.emit = function ( event ) { var args = [], -- 2.20.1