Update OOjs to v2.2.2
authorJames D. Forrester <jforrester@wikimedia.org>
Thu, 14 Jun 2018 22:55:50 +0000 (15:55 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Thu, 14 Jun 2018 22:55:50 +0000 (15:55 -0700)
Release notes:
 https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/core/+/v2.2.2/History.md

Change-Id: I9d442180d54b8778119d79fa07118f65e62adf78

resources/lib/oojs/README.md
resources/lib/oojs/oojs.jquery.js

index ec14576..b99230a 100644 (file)
@@ -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
index b51c5d1..3f400cd 100644 (file)
@@ -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 */