Bug 1215455 - eslint space-before-blocks [r=Standard8]
authorEd Lee <edilee@mozilla.com>
Fri, 16 Oct 2015 01:38:21 -0700
changeset 304184 de78149fb3db564d5a52af4b41a916d0d2703287
parent 304183 412326380fc25f783726a4c9baa54c3d6fe78983
child 304185 d39db1517fb2fbbbe14c11c71e2beb871725074a
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersStandard8
bugs1215455
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1215455 - eslint space-before-blocks [r=Standard8]
browser/components/loop/.eslintrc
browser/components/loop/modules/CardDavImporter.jsm
browser/components/loop/modules/MozLoopPushHandler.jsm
browser/components/loop/test/desktop-local/panel_test.js
browser/components/loop/test/shared/mixins_test.js
browser/components/loop/test/shared/textChatView_test.js
browser/components/loop/test/shared/validate_test.js
browser/components/loop/test/shared/views_test.js
browser/components/loop/test/standalone/standaloneRoomViews_test.js
browser/components/loop/ui/fake-l10n.js
browser/components/loop/ui/fake-mozLoop.js
browser/components/loop/ui/ui-showcase.js
browser/components/loop/ui/ui-showcase.jsx
--- a/browser/components/loop/.eslintrc
+++ b/browser/components/loop/.eslintrc
@@ -100,16 +100,17 @@
     "no-use-before-define": 0,    // TODO: Set to 2
     "no-useless-call": 2,
     "no-with": 2,
     "object-curly-spacing": [2, "always"],
     "quotes": [2, "double", "avoid-escape"],
     "semi": 2,
     "semi-spacing": [2, {"before": false, "after": true}],
     "space-after-keywords": 2,
+    "space-before-blocks": 2,
     "space-before-keywords": 2,
     "space-infix-ops": 2,
     "space-return-throw-case": 2,
     "space-unary-ops": [2, {"words": true, "nonwords": false}],
     "spaced-comment": [2, "always"],
     "strict": [2, "function"],
     "yoda": [2, "never"],
     // eslint-plugin-react rules. These are documented at
--- a/browser/components/loop/modules/CardDavImporter.jsm
+++ b/browser/components/loop/modules/CardDavImporter.jsm
@@ -85,17 +85,17 @@ this.CardDavImporter.prototype = {
       auth = { method: "basic",
                user: options.user,
                password: options.password };
     } else {
       callback(new Error("Unknown authentication method"));
       return;
     }
 
-    if (!("host" in options)){
+    if (!("host" in options)) {
       callback(new Error("Missing host for CardDav import"));
       return;
     }
     let host = options.host;
 
     Task.spawn(function* () {
       log.info("Starting CardDAV import from " + host);
       let baseURL = "https://" + host;
--- a/browser/components/loop/modules/MozLoopPushHandler.jsm
+++ b/browser/components/loop/modules/MozLoopPushHandler.jsm
@@ -300,17 +300,17 @@ PingMonitor.prototype = {
     this.stop();
     this._pingTimerID = setTimeout(() => { this._pingSend(); }, this._pingInterval);
   },
 
   /**
    * Function to stop the PingMonitor.
    */
   stop: function() {
-    if (this._pingTimerID){
+    if (this._pingTimerID) {
       clearTimeout(this._pingTimerID);
       this._pingTimerID = undefined;
     }
   },
 
   _pingSend: function () {
     consoleLog.info("PushHandler: ping sent");
     this._pingTimerID = setTimeout(this._onTimeout, this._pingTimeout);
--- a/browser/components/loop/test/desktop-local/panel_test.js
+++ b/browser/components/loop/test/desktop-local/panel_test.js
@@ -28,17 +28,17 @@ describe("loop.panel", function() {
       preventDefault: sandbox.stub(),
       stopPropagation: sandbox.stub(),
       pageY: 42
     };
 
     fakeWindow = {
       close: sandbox.stub(),
       addEventListener: function() {},
-      document: { addEventListener: function(){} },
+      document: { addEventListener: function() {} },
       setTimeout: function(callback) { callback(); }
     };
     loop.shared.mixins.setRootObject(fakeWindow);
 
     notifications = new loop.shared.models.NotificationCollection();
 
     fakeMozLoop = navigator.mozLoop = {
       doNotDisturb: true,
--- a/browser/components/loop/test/shared/mixins_test.js
+++ b/browser/components/loop/test/shared/mixins_test.js
@@ -19,17 +19,17 @@ describe("loop.shared.mixins", function(
     sandbox.restore();
     sharedMixins.setRootObject(window);
   });
 
   describe("loop.shared.mixins.UrlHashChangeMixin", function() {
     function createTestComponent(onUrlHashChange) {
       var TestComp = React.createClass({
         mixins: [loop.shared.mixins.UrlHashChangeMixin],
-        onUrlHashChange: onUrlHashChange || function(){},
+        onUrlHashChange: onUrlHashChange || function() {},
         render: function() {
           return React.DOM.div();
         }
       });
       return new React.createElement(TestComp);
     }
 
     it("should watch for hashchange event", function() {
--- a/browser/components/loop/test/shared/textChatView_test.js
+++ b/browser/components/loop/test/shared/textChatView_test.js
@@ -371,17 +371,17 @@ describe("loop.shared.views.TextChatView
       });
       var node = view.getDOMNode();
 
       expect(node.querySelector(".text-chat-entry-timestamp")).to.not.eql(null);
     });
 
     // note that this is really an integration test to be sure that we don't
     // inadvertently regress using LinkifiedTextView.
-    it("should linkify a URL starting with http", function (){
+    it("should linkify a URL starting with http", function () {
       view = mountTestComponent({
         showTimestamp: true,
         timestamp: "2015-06-23T22:48:39.738Z",
         type: CHAT_MESSAGE_TYPES.RECEIVED,
         contentType: CHAT_CONTENT_TYPES.TEXT,
         message: "Check out http://example.com and see what you think..."
       });
       var node = view.getDOMNode();
--- a/browser/components/loop/test/shared/validate_test.js
+++ b/browser/components/loop/test/shared/validate_test.js
@@ -8,18 +8,18 @@ describe("Validator", function() {
 
   // test helpers
   function create(dependencies, values) {
     var validator = new loop.validate.Validator(dependencies);
     return validator.validate.bind(validator, values);
   }
 
   // test types
-  function X(){}
-  function Y(){}
+  function X() {}
+  function Y() {}
 
   describe("#validate", function() {
     function RTCSessionDescription() {}
     var rtcsd;
 
     beforeEach(function() {
       rtcsd = new RTCSessionDescription();
     });
--- a/browser/components/loop/test/shared/views_test.js
+++ b/browser/components/loop/test/shared/views_test.js
@@ -55,53 +55,53 @@ describe("loop.shared.views", function()
   });
 
   describe("MediaControlButton", function() {
     it("should render an enabled local audio button", function() {
       var comp = TestUtils.renderIntoDocument(
         React.createElement(sharedViews.MediaControlButton, {
           scope: "local",
           type: "audio",
-          action: function(){},
+          action: function() {},
           enabled: true
         }));
 
       expect(comp.getDOMNode().classList.contains("muted")).eql(false);
     });
 
     it("should render a muted local audio button", function() {
       var comp = TestUtils.renderIntoDocument(
           React.createElement(sharedViews.MediaControlButton, {
           scope: "local",
           type: "audio",
-          action: function(){},
+          action: function() {},
           enabled: false
         }));
 
       expect(comp.getDOMNode().classList.contains("muted")).eql(true);
     });
 
     it("should render an enabled local video button", function() {
       var comp = TestUtils.renderIntoDocument(
           React.createElement(sharedViews.MediaControlButton, {
           scope: "local",
           type: "video",
-          action: function(){},
+          action: function() {},
           enabled: true
         }));
 
       expect(comp.getDOMNode().classList.contains("muted")).eql(false);
     });
 
     it("should render a muted local video button", function() {
       var comp = TestUtils.renderIntoDocument(
         React.createElement(sharedViews.MediaControlButton, {
           scope: "local",
           type: "video",
-          action: function(){},
+          action: function() {},
           enabled: false
         }));
 
       expect(comp.getDOMNode().classList.contains("muted")).eql(true);
     });
   });
 
   describe("ScreenShareControlButton", function() {
--- a/browser/components/loop/test/standalone/standaloneRoomViews_test.js
+++ b/browser/components/loop/test/standalone/standaloneRoomViews_test.js
@@ -34,17 +34,17 @@ describe("loop.standaloneRoomViews", fun
       activeRoomStore: activeRoomStore,
       textChatStore: textChatStore
     });
 
     clock = sandbox.useFakeTimers();
     fakeWindow = {
       close: sandbox.stub(),
       addEventListener: function() {},
-      document: { addEventListener: function(){} },
+      document: { addEventListener: function() {} },
       removeEventListener: function() {},
       setTimeout: function(callback) { callback(); }
     };
     loop.shared.mixins.setRootObject(fakeWindow);
 
 
     sandbox.stub(navigator.mozL10n, "get", function(key, args) {
       switch (key) {
--- a/browser/components/loop/ui/fake-l10n.js
+++ b/browser/components/loop/ui/fake-l10n.js
@@ -7,21 +7,21 @@
 
   /**
    * /!\ FIXME: THIS IS A HORRID HACK which fakes both the mozL10n and webL10n
    * objects and makes them returning the string id and serialized vars if any,
    * for any requested string id.
    * @type {Object}
    */
   navigator.mozL10n = document.mozL10n = {
-    initialize: function(){},
+    initialize: function() {},
 
-    getLanguage: function(){},
+    getLanguage: function() {},
 
-    getDirection: function(){
+    getDirection: function() {
       if (document.location.search === "?rtl=1") {
         return "rtl";
       }
 
       return "ltr";
     },
 
     get: function(stringId, vars) {
--- a/browser/components/loop/ui/fake-mozLoop.js
+++ b/browser/components/loop/ui/fake-mozLoop.js
@@ -107,27 +107,27 @@ var fakeRooms = [
   "use strict";
 
   /**
    * Faking the mozLoop object which doesn't exist in regular web pages.
    * @type {Object}
    */
   navigator.mozLoop = {
     ensureRegistered: function() {},
-    getAudioBlob: function(){},
+    getAudioBlob: function() {},
     getLoopPref: function(pref) {
       switch (pref) {
         // Ensure we skip FTE completely.
         case "gettingStarted.seen":
           return true;
       }
       return null;
     },
     hasEncryptionKey: true,
-    setLoopPref: function(){},
+    setLoopPref: function() {},
     releaseCallData: function() {},
     copyString: function() {},
     getUserAvatar: function(emailAddress) {
       var avatarUrl = "http://www.gravatar.com/avatar/0a996f0fe2727ef1668bdb11897e4459.jpg?default=blank&s=40";
       return Math.ceil(Math.random() * 3) === 2 ? avatarUrl : null;
     },
     getSelectedTabMetadata: function(callback) {
       callback({
--- a/browser/components/loop/ui/ui-showcase.js
+++ b/browser/components/loop/ui/ui-showcase.js
@@ -44,17 +44,17 @@
   function returnTrue() {
     return true;
   }
 
   function returnFalse() {
     return false;
   }
 
-  function noop(){}
+  function noop() {}
 
   // We save the visibility change listeners so that we can fake an event
   // to the panel once we've loaded all the views.
   var visibilityListeners = [];
   var rootObject = window;
 
   rootObject.document.addEventListener = function(eventName, func) {
     if (eventName === "visibilitychange") {
@@ -387,17 +387,17 @@
 
   // Local mocks
   var mockMozLoopNoRooms = _.cloneDeep(navigator.mozLoop);
   mockMozLoopNoRooms.rooms.getAll = function(version, callback) {
     callback(null, []);
   };
 
   var mockMozLoopNoRoomsNoContext = _.cloneDeep(navigator.mozLoop);
-  mockMozLoopNoRoomsNoContext.getSelectedTabMetadata = function(){};
+  mockMozLoopNoRoomsNoContext.getSelectedTabMetadata = function() {};
   mockMozLoopNoRoomsNoContext.rooms.getAll = function(version, callback) {
     callback(null, []);
   };
 
   var roomStoreNoRooms = new loop.store.RoomStore(new loop.Dispatcher(), {
     mozLoop: mockMozLoopNoRooms,
     activeRoomStore: new loop.store.ActiveRoomStore(new loop.Dispatcher(), {
       mozLoop: mockMozLoopNoRooms,
@@ -420,17 +420,17 @@
 
   var mockMozLoopLoggedIn = _.cloneDeep(navigator.mozLoop);
   mockMozLoopLoggedIn.userProfile = {
     email: "text@example.com",
     uid: "0354b278a381d3cb408bb46ffc01266"
   };
 
   var mockMozLoopLoggedInNoContext = _.cloneDeep(navigator.mozLoop);
-  mockMozLoopLoggedInNoContext.getSelectedTabMetadata = function(){};
+  mockMozLoopLoggedInNoContext.getSelectedTabMetadata = function() {};
   mockMozLoopLoggedInNoContext.userProfile = _.cloneDeep(mockMozLoopLoggedIn.userProfile);
 
   var mockMozLoopLoggedInLongEmail = _.cloneDeep(navigator.mozLoop);
   mockMozLoopLoggedInLongEmail.userProfile = {
     email: "reallyreallylongtext@example.com",
     uid: "0354b278a381d3cb408bb46ffc01266"
   };
 
@@ -878,32 +878,32 @@
                            summary: "Desktop room conversation (invitation, text-chat inclusion/scrollbars don't happen in real client)", 
                            width: 348}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   roomState: ROOM_STATES.INIT, 
                   roomStore: invitationRoomStore})
               )
             ), 
 
             React.createElement(FramedExample, {height: 288, 
                            onContentsRendered: invitationRoomStore.activeRoomStore.forcedUpdate, 
                            summary: "Desktop room Edit Context w/Error", 
                            width: 348}, 
               React.createElement("div", {className: "fx-embedded room-invitation-overlay"}, 
                 React.createElement(DesktopRoomEditContextView, {
                   dispatcher: dispatcher, 
                   error: {}, 
                   mozLoop: navigator.mozLoop, 
-                  onClose: function(){}, 
+                  onClose: function() {}, 
                   roomData: {}, 
                   savingContext: false, 
                   show: true}
                   )
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
@@ -914,17 +914,17 @@
               /* Hide scrollbars here. Rotating loading div overflows and causes
                scrollbars to appear */
               React.createElement("div", {className: "fx-embedded overflow-hidden"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomState: ROOM_STATES.HAS_PARTICIPANTS, 
                   roomStore: desktopRoomStoreLoading})
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
                            height: 398, 
@@ -932,17 +932,17 @@
                            summary: "Desktop room conversation", 
                            width: 348}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomState: ROOM_STATES.HAS_PARTICIPANTS, 
                   roomStore: roomStore})
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
                            height: 482, 
@@ -950,17 +950,17 @@
                            summary: "Desktop room conversation (medium)", 
                            width: 602}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomState: ROOM_STATES.HAS_PARTICIPANTS, 
                   roomStore: desktopRoomStoreMedium})
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
                            height: 485, 
@@ -968,51 +968,51 @@
                            summary: "Desktop room conversation (large)", 
                            width: 646}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomState: ROOM_STATES.HAS_PARTICIPANTS, 
                   roomStore: desktopRoomStoreLarge})
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
                            height: 398, 
                            onContentsRendered: desktopLocalFaceMuteRoomStore.activeRoomStore.forcedUpdate, 
                            summary: "Desktop room conversation local face-mute", 
                            width: 348}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomStore: desktopLocalFaceMuteRoomStore})
               )
             ), 
 
             React.createElement(FramedExample, {dashed: true, 
                            height: 398, 
                            onContentsRendered: desktopRemoteFaceMuteRoomStore.activeRoomStore.forcedUpdate, 
                            summary: "Desktop room conversation remote face-mute", 
                            width: 348}, 
               React.createElement("div", {className: "fx-embedded"}, 
                 React.createElement(DesktopRoomConversationView, {
                   chatWindowDetached: false, 
                   dispatcher: dispatcher, 
                   localPosterUrl: "sample-img/video-screen-local.png", 
                   mozLoop: navigator.mozLoop, 
-                  onCallTerminated: function(){}, 
+                  onCallTerminated: function() {}, 
                   remotePosterUrl: "sample-img/video-screen-remote.png", 
                   roomStore: desktopRemoteFaceMuteRoomStore})
               )
             )
           ), 
 
           React.createElement(Section, {name: "StandaloneHandleUserAgentView"}, 
             React.createElement(FramedExample, {
--- a/browser/components/loop/ui/ui-showcase.jsx
+++ b/browser/components/loop/ui/ui-showcase.jsx
@@ -44,17 +44,17 @@
   function returnTrue() {
     return true;
   }
 
   function returnFalse() {
     return false;
   }
 
-  function noop(){}
+  function noop() {}
 
   // We save the visibility change listeners so that we can fake an event
   // to the panel once we've loaded all the views.
   var visibilityListeners = [];
   var rootObject = window;
 
   rootObject.document.addEventListener = function(eventName, func) {
     if (eventName === "visibilitychange") {
@@ -387,17 +387,17 @@
 
   // Local mocks
   var mockMozLoopNoRooms = _.cloneDeep(navigator.mozLoop);
   mockMozLoopNoRooms.rooms.getAll = function(version, callback) {
     callback(null, []);
   };
 
   var mockMozLoopNoRoomsNoContext = _.cloneDeep(navigator.mozLoop);
-  mockMozLoopNoRoomsNoContext.getSelectedTabMetadata = function(){};
+  mockMozLoopNoRoomsNoContext.getSelectedTabMetadata = function() {};
   mockMozLoopNoRoomsNoContext.rooms.getAll = function(version, callback) {
     callback(null, []);
   };
 
   var roomStoreNoRooms = new loop.store.RoomStore(new loop.Dispatcher(), {
     mozLoop: mockMozLoopNoRooms,
     activeRoomStore: new loop.store.ActiveRoomStore(new loop.Dispatcher(), {
       mozLoop: mockMozLoopNoRooms,
@@ -420,17 +420,17 @@
 
   var mockMozLoopLoggedIn = _.cloneDeep(navigator.mozLoop);
   mockMozLoopLoggedIn.userProfile = {
     email: "text@example.com",
     uid: "0354b278a381d3cb408bb46ffc01266"
   };
 
   var mockMozLoopLoggedInNoContext = _.cloneDeep(navigator.mozLoop);
-  mockMozLoopLoggedInNoContext.getSelectedTabMetadata = function(){};
+  mockMozLoopLoggedInNoContext.getSelectedTabMetadata = function() {};
   mockMozLoopLoggedInNoContext.userProfile = _.cloneDeep(mockMozLoopLoggedIn.userProfile);
 
   var mockMozLoopLoggedInLongEmail = _.cloneDeep(navigator.mozLoop);
   mockMozLoopLoggedInLongEmail.userProfile = {
     email: "reallyreallylongtext@example.com",
     uid: "0354b278a381d3cb408bb46ffc01266"
   };
 
@@ -878,32 +878,32 @@
                            summary="Desktop room conversation (invitation, text-chat inclusion/scrollbars don't happen in real client)"
                            width={348}>
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   roomState={ROOM_STATES.INIT}
                   roomStore={invitationRoomStore} />
               </div>
             </FramedExample>
 
             <FramedExample height={288}
                            onContentsRendered={invitationRoomStore.activeRoomStore.forcedUpdate}
                            summary="Desktop room Edit Context w/Error"
                            width={348}>
               <div className="fx-embedded room-invitation-overlay">
                 <DesktopRoomEditContextView
                   dispatcher={dispatcher}
                   error={{}}
                   mozLoop={navigator.mozLoop}
-                  onClose={function(){}}
+                  onClose={function() {}}
                   roomData={{}}
                   savingContext={false}
                   show={true}
                   />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
@@ -914,17 +914,17 @@
               {/* Hide scrollbars here. Rotating loading div overflows and causes
                scrollbars to appear */}
               <div className="fx-embedded overflow-hidden">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomState={ROOM_STATES.HAS_PARTICIPANTS}
                   roomStore={desktopRoomStoreLoading} />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
                            height={398}
@@ -932,17 +932,17 @@
                            summary="Desktop room conversation"
                            width={348}>
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomState={ROOM_STATES.HAS_PARTICIPANTS}
                   roomStore={roomStore} />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
                            height={482}
@@ -950,17 +950,17 @@
                            summary="Desktop room conversation (medium)"
                            width={602}>
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomState={ROOM_STATES.HAS_PARTICIPANTS}
                   roomStore={desktopRoomStoreMedium} />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
                            height={485}
@@ -968,51 +968,51 @@
                            summary="Desktop room conversation (large)"
                            width={646}>
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomState={ROOM_STATES.HAS_PARTICIPANTS}
                   roomStore={desktopRoomStoreLarge} />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
                            height={398}
                            onContentsRendered={desktopLocalFaceMuteRoomStore.activeRoomStore.forcedUpdate}
                            summary="Desktop room conversation local face-mute"
                            width={348}>
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomStore={desktopLocalFaceMuteRoomStore} />
               </div>
             </FramedExample>
 
             <FramedExample dashed={true}
                            height={398}
                            onContentsRendered={desktopRemoteFaceMuteRoomStore.activeRoomStore.forcedUpdate}
                            summary="Desktop room conversation remote face-mute"
                            width={348} >
               <div className="fx-embedded">
                 <DesktopRoomConversationView
                   chatWindowDetached={false}
                   dispatcher={dispatcher}
                   localPosterUrl="sample-img/video-screen-local.png"
                   mozLoop={navigator.mozLoop}
-                  onCallTerminated={function(){}}
+                  onCallTerminated={function() {}}
                   remotePosterUrl="sample-img/video-screen-remote.png"
                   roomStore={desktopRemoteFaceMuteRoomStore} />
               </div>
             </FramedExample>
           </Section>
 
           <Section name="StandaloneHandleUserAgentView">
             <FramedExample