Merge "Remove a hack, and a hack for the hack, for MediaWiki UI input fields"
[lhc/web/wiklou.git] / resources / lib / oojs-ui / oojs-ui-mediawiki.js
index 3be2d1b..45872b6 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.8.0
+ * OOjs UI v0.9.3
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2015 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2015-02-19T01:33:11Z
+ * Date: 2015-03-19T23:18:59Z
  */
 /**
  * @class
@@ -32,6 +32,7 @@ OO.ui.MediaWikiTheme.prototype.getElementClasses = function ( element ) {
        // Parent method
        var variant,
                variants = {
+                       warning: false,
                        invert: false,
                        progressive: false,
                        constructive: false,
@@ -47,6 +48,7 @@ OO.ui.MediaWikiTheme.prototype.getElementClasses = function ( element ) {
                        variants.progressive = element.hasFlag( 'progressive' );
                        variants.constructive = element.hasFlag( 'constructive' );
                        variants.destructive = element.hasFlag( 'destructive' );
+                       variants.warning = element.hasFlag( 'warning' );
                }
        }