Update oojs to v3.0.1

Release notes:
 https://gerrit.wikimedia.org/g/oojs/core/+/v3.0.1/History.md

Change-Id: I637f854e4022726ee2a24cd37a552764a03cea6e
This commit is contained in:
James D. Forrester 2020-02-24 14:46:11 -08:00
parent 51ae353ab5
commit 2681a587ca
4 changed files with 13 additions and 12 deletions

View file

@ -134,6 +134,7 @@ For notes on 1.34.x and older releases, see HISTORY.
* symfony/yaml was upgraded from 3.4.28 to 4.3.4
* pear/mail_mime was upgraded from 1.10.2 to 1.10.6.
* wikimedia/less.php was upgrade from 1.8.0 to 1.8.2
* Updated oojs from 3.0.0 to 3.0.1.
* Updated OOUI from 0.35.1 to 0.36.5.
* zordius/lightncandy was upgraded from 0.23.0 to 1.2.4
* Updated nikic/php-parser from 3.1.5 to 4.3.0 (dev-only).

View file

@ -217,8 +217,8 @@ mustache:
oojs:
type: tar
src: https://registry.npmjs.org/oojs/-/oojs-3.0.0.tgz
integrity: sha256-cNQ5UOHczNGzfEvm6jKM5zcmg3tqFxnJ2UnEOSt9/1M=
src: https://registry.npmjs.org/oojs/-/oojs-3.0.1.tgz
integrity: sha256-bfrCCMyCsIssXuGHpb1FCejo8dwkOEuV5bu/ujRDkpI=
dest:
package/dist/oojs.jquery.js:
package/AUTHORS.txt:

View file

@ -1,4 +1,4 @@
[![npm](https://img.shields.io/npm/v/oojs.svg?style=flat)](https://www.npmjs.com/package/oojs) [![David](https://img.shields.io/david/dev/wikimedia/oojs.svg?style=flat)](https://david-dm.org/wikimedia/oojs#info=devDependencies)
[![npm](https://img.shields.io/npm/v/oojs.svg?style=flat)](https://www.npmjs.com/package/oojs)
OOjs
=================
@ -29,7 +29,7 @@ This library is available as an [npm](https://npmjs.org/) package! Install it ri
npm install oojs
</pre>
Or clone the repo, `git clone https://phabricator.wikimedia.org/diffusion/GOJS/oojs.git`.
Or clone the repo, `git clone https://gerrit.wikimedia.org/r/oojs/core`.
ECMAScript 5
----------

View file

@ -1,12 +1,12 @@
/*!
* OOjs v3.0.0 optimised for jQuery
* OOjs v3.0.1 optimised for jQuery
* https://www.mediawiki.org/wiki/OOjs
*
* Copyright 2011-2019 OOjs Team and other contributors.
* Copyright 2011-2020 OOjs Team and other contributors.
* Released under the MIT license
* https://oojs.mit-license.org
*
* Date: 2019-08-28T15:41:06Z
* Date: 2020-02-24T22:36:27Z
*/
( function ( global ) {
@ -846,8 +846,7 @@ OO.isPlainObject = $.isPlainObject;
* hard-to-understand code with hidden side-effects and dependencies.
*
* @param {string} event Type of event
* @param {...any} args First in a list of variadic arguments
* passed to event handler (optional)
* @param {...any} [args] Arguments passed to the event handler
* @return {boolean} Whether the event was handled by at least one listener
*/
OO.EventEmitter.prototype.emit = function ( event ) {
@ -905,8 +904,7 @@ OO.isPlainObject = $.isPlainObject;
* hard-to-understand code with hidden side-effects and dependencies.
*
* @param {string} event Type of event
* @param {...any} args First in a list of variadic arguments
* passed to event handler (optional)
* @param {...any} [args] Arguments passed to the event handler
* @return {boolean} Whether the event was handled by at least one listener
*/
OO.EventEmitter.prototype.emitThrow = function ( event ) {
@ -996,7 +994,7 @@ OO.isPlainObject = $.isPlainObject;
* List of event bindings keyed by event name. Values can be either method names, functions or
* arrays containing a method name.
* NOTE: To allow matching call sites with connect(), array values are allowed to contain the
* parameters as well, but only the method name is used to find bindings. Tt is discouraged to
* parameters as well, but only the method name is used to find bindings. It is discouraged to
* have multiple bindings for the same event to the same listener, but if used (and only the
* parameters vary), disconnecting one variation of (event name, event listener, parameters)
* will disconnect other variations as well.
@ -1051,6 +1049,8 @@ OO.isPlainObject = $.isPlainObject;
this.aggregateItemEvents = {};
};
OO.initClass( OO.EmitterList );
/* Events */
/**