Follow-up to bug 1045498. Fix Loop's ui-showcase to load properly. rs=nperriault over irc a=lsblakk
authorMark Banner <standard8@mozilla.com>
Wed, 10 Dec 2014 15:45:22 +0000
changeset 242442 0a1bd530fb0a8006aece14b856182d18b92427b5
parent 242441 383f4f363da32c53a190cb16303869eb06cdc42d
child 242443 205354ee00bb368059d2de05c096d6d46cda3564
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnperriault, lsblakk
bugs1045498
milestone36.0a2
Follow-up to bug 1045498. Fix Loop's ui-showcase to load properly. rs=nperriault over irc a=lsblakk
browser/components/loop/ui/ui-showcase.js
browser/components/loop/ui/ui-showcase.jsx
--- a/browser/components/loop/ui/ui-showcase.js
+++ b/browser/components/loop/ui/ui-showcase.js
@@ -530,17 +530,17 @@
               )
             )
           ), 
 
 
           Section({name: "UnsupportedBrowserView"}, 
             Example({summary: "Standalone Unsupported Browser"}, 
               React.DOM.div({className: "standalone"}, 
-                UnsupportedBrowserView(null)
+                UnsupportedBrowserView({helper: {isFirefox: returnFalse}})
               )
             )
           ), 
 
           Section({name: "UnsupportedDeviceView"}, 
             Example({summary: "Standalone Unsupported Device"}, 
               React.DOM.div({className: "standalone"}, 
                 UnsupportedDeviceView(null)
--- a/browser/components/loop/ui/ui-showcase.jsx
+++ b/browser/components/loop/ui/ui-showcase.jsx
@@ -530,17 +530,17 @@
               </div>
             </Example>
           </Section>
 
 
           <Section name="UnsupportedBrowserView">
             <Example summary="Standalone Unsupported Browser">
               <div className="standalone">
-                <UnsupportedBrowserView />
+                <UnsupportedBrowserView helper={{isFirefox: returnFalse}}/>
               </div>
             </Example>
           </Section>
 
           <Section name="UnsupportedDeviceView">
             <Example summary="Standalone Unsupported Device">
               <div className="standalone">
                 <UnsupportedDeviceView />