X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Flib%2Foojs-ui%2Foojs-ui-windows.js;h=2a0f02d6c15c36cbc9a2b307d0cb632e11fb2f9b;hb=1d7a1bf8bddf0908e4f572c82268733f63126a13;hp=c53111fd2baf387f8c51444dda4d0c99b759d1d8;hpb=70f51388a6d4f1e50af884e37ea33681880b72d8;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index c53111fd2b..2a0f02d6c1 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.22.4 + * OOjs UI v0.23.0 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2017 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2017-08-03T19:36:51Z + * Date: 2017-09-05T21:23:58Z */ ( function ( OO ) { @@ -1293,7 +1293,7 @@ OO.ui.WindowManager.prototype.getCurrentWindow = function () { * @return {OO.ui.WindowInstance|jQuery.Promise} A lifecycle object representing this particular * opening of the window. For backwards-compatibility, then object is also a Thenable that is resolved * when the window is done opening, with nested promise for when closing starts. This behaviour - * is deprecated and is not compatible with jQuery 3 (T163510). + * is deprecated and is not compatible with jQuery 3. See T163510. * @fires opening */ OO.ui.WindowManager.prototype.openWindow = function ( win, data, lifecycle, compatOpening ) { @@ -1308,7 +1308,7 @@ OO.ui.WindowManager.prototype.openWindow = function ( win, data, lifecycle, comp compatOpening = compatOpening || $.Deferred(); // Turn lifecycle into a Thenable for backwards-compatibility with - // the deprecated nested-promise behaviour (T163510). + // the deprecated nested-promise behaviour, see T163510. [ 'state', 'always', 'catch', 'pipe', 'then', 'promise', 'progress', 'done', 'fail' ] .forEach( function ( method ) { lifecycle[ method ] = function () { @@ -1396,7 +1396,7 @@ OO.ui.WindowManager.prototype.openWindow = function ( win, data, lifecycle, comp * @param {Object} [data] Window closing data * @return {OO.ui.WindowInstance|jQuery.Promise} A lifecycle object representing this particular * opening of the window. For backwards-compatibility, the object is also a Thenable that is resolved - * when the window is done closing (T163510). + * when the window is done closing, see T163510. * @fires closing */ OO.ui.WindowManager.prototype.closeWindow = function ( win, data ) { @@ -1434,7 +1434,7 @@ OO.ui.WindowManager.prototype.closeWindow = function ( win, data ) { } // Turn lifecycle into a Thenable for backwards-compatibility with - // the deprecated nested-promise behaviour (T163510). + // the deprecated nested-promise behaviour, see T163510. [ 'state', 'always', 'catch', 'pipe', 'then', 'promise', 'progress', 'done', 'fail' ] .forEach( function ( method ) { lifecycle[ method ] = function () {