Update OOjs UI to v0.1.0-pre (72f047e5d8)
authorJames D. Forrester <jforrester@wikimedia.org>
Sat, 6 Sep 2014 00:15:09 +0000 (17:15 -0700)
committerJames D. Forrester <jforrester@wikimedia.org>
Sat, 6 Sep 2014 00:15:14 +0000 (17:15 -0700)
New changes:
72f047e Followup 67f83f1: fall back to empty string to avoid 'undefined'

Change-Id: Ieb49700a48e2a2c7b00fec551e96ed7830dc3f01

resources/lib/oojs-ui/oojs-ui-apex.css
resources/lib/oojs-ui/oojs-ui-minerva.css
resources/lib/oojs-ui/oojs-ui.js
resources/lib/oojs-ui/oojs-ui.svg.css

index 49776bc..89c0d40 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (8ad150e4e7)
+ * OOjs UI v0.1.0-pre (72f047e5d8)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-05T21:30:32Z
+ * Date: 2014-09-06T00:15:06Z
  */
 /*
  * Blank theme mixins.
index e12abd2..c33b38e 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (8ad150e4e7)
+ * OOjs UI v0.1.0-pre (72f047e5d8)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-05T21:30:32Z
+ * Date: 2014-09-06T00:15:06Z
  */
 /*
  * Blank theme mixins.
index 068c8fa..41b6fab 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (8ad150e4e7)
+ * OOjs UI v0.1.0-pre (72f047e5d8)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-05T21:30:32Z
+ * Date: 2014-09-06T00:15:06Z
  */
 ( function ( OO ) {
 
@@ -1384,8 +1384,9 @@ OO.ui.Window.static.transplantStyles = function ( parentDoc, frameDoc, timeout )
                        styleText = '@import url(' + styleNode.href + ');';
                } else {
                        // Internal stylesheet; just copy the text
-                       // For IE10 we need to fall back to .cssText
-                       styleText = styleNode.textContent || parentDoc.styleSheets[i].cssText;
+                       // For IE10 we need to fall back to .cssText, BUT that's undefined in
+                       // other browsers, so fall back to '' rather than 'undefined'
+                       styleText = styleNode.textContent || parentDoc.styleSheets[i].cssText || '';
                }
 
                // Create a node with a unique ID that we're going to monitor to see when the CSS
index ee34c60..5f5eda9 100644 (file)
@@ -1,12 +1,12 @@
 /*!
- * OOjs UI v0.1.0-pre (8ad150e4e7)
+ * OOjs UI v0.1.0-pre (72f047e5d8)
  * https://www.mediawiki.org/wiki/OOjs_UI
  *
  * Copyright 2011–2014 OOjs Team and other contributors.
  * Released under the MIT license
  * http://oojs.mit-license.org
  *
- * Date: 2014-09-05T21:30:32Z
+ * Date: 2014-09-06T00:15:06Z
  */
 /*
  * Blank theme mixins.