From d1c10b8e63bf016397f949f20ebbc6e6806d32aa Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Thu, 14 Jun 2018 15:55:50 -0700 Subject: [PATCH] Update OOjs to v2.2.2 Release notes: https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/core/+/v2.2.2/History.md Change-Id: I9d442180d54b8778119d79fa07118f65e62adf78 --- resources/lib/oojs/README.md | 2 +- resources/lib/oojs/oojs.jquery.js | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/lib/oojs/README.md b/resources/lib/oojs/README.md index ec14576f2f..b99230ae9a 100644 --- a/resources/lib/oojs/README.md +++ b/resources/lib/oojs/README.md @@ -71,7 +71,7 @@ $ git remote update $ git checkout -B release -t origin/master # Ensure tests pass -$ npm install && npm test +$ npm install-test # Avoid using "npm version patch" because that creates # both a commit and a tag, and we shouldn't tag until after diff --git a/resources/lib/oojs/oojs.jquery.js b/resources/lib/oojs/oojs.jquery.js index b51c5d12a1..3f400cda2b 100644 --- a/resources/lib/oojs/oojs.jquery.js +++ b/resources/lib/oojs/oojs.jquery.js @@ -1,17 +1,18 @@ /*! - * OOjs v2.2.0 optimised for jQuery + * OOjs v2.2.2 optimised for jQuery * https://www.mediawiki.org/wiki/OOjs * * Copyright 2011-2018 OOjs Team and other contributors. * Released under the MIT license * https://oojs.mit-license.org * - * Date: 2018-04-03T19:45:13Z + * Date: 2018-06-14T20:13:14Z */ ( function ( global ) { 'use strict'; +/* exported toString */ var /** * Namespace for all classes, static methods and static properties. @@ -21,8 +22,6 @@ var oo = {}, // Optimisation: Local reference to Object.prototype.hasOwnProperty hasOwn = oo.hasOwnProperty, - // Marking this as "exported" doesn't work when parserOptions.sourceType is module - // eslint-disable-next-line no-unused-vars toString = oo.toString; /* Class Methods */ -- 2.20.1