Merge "Show a warning in edit preview when a template loop is detected"
[lhc/web/wiklou.git] / resources / lib / oojs-ui / oojs-ui-windows.js
index c53111f..2a0f02d 100644 (file)
@@ -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 () {