Bug 695127 - missing ; in chrome://browser/content/preferences/sync.js. r=trivial
authorRichard Newman <rnewman@mozilla.com>
Wed, 19 Dec 2012 15:19:25 -0800
changeset 126464 8468249f439a465788a8a8c789b543704e540d36
parent 126463 5c5e1e93e3a91b5a0a1b2f2fd0ef8346ea64a6a3
child 126465 11f7569992ce60beff4943aeea34260d824c2769
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstrivial
bugs695127
milestone20.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 695127 - missing ; in chrome://browser/content/preferences/sync.js. r=trivial
browser/components/preferences/in-content/sync.js
browser/components/preferences/sync.js
--- a/browser/components/preferences/in-content/sync.js
+++ b/browser/components/preferences/in-content/sync.js
@@ -112,17 +112,17 @@ let gSyncPane = {
    * 
    * @param wizardType
    *        Indicates type of wizard to launch:
    *          null    -- regular set up wizard
    *          "pair"  -- pair a device first
    *          "reset" -- reset sync
    */
   openSetup: function (wizardType) {
-    var win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
+    let win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
     if (win)
       win.focus();
     else {
       window.openDialog("chrome://browser/content/sync/setup.xul",
                         "weaveSetup", "centerscreen,chrome,resizable=no",
                         wizardType);
     }
   },
@@ -145,11 +145,11 @@ let gSyncPane = {
       win.focus();
     else 
       window.openDialog("chrome://browser/content/sync/addDevice.xul",
                         "syncAddDevice", "centerscreen,chrome,resizable=no");
   },
 
   resetSync: function () {
     this.openSetup("reset");
-  }
-}
+  },
+};
 
--- a/browser/components/preferences/sync.js
+++ b/browser/components/preferences/sync.js
@@ -113,17 +113,17 @@ let gSyncPane = {
    * 
    * @param wizardType
    *        Indicates type of wizard to launch:
    *          null    -- regular set up wizard
    *          "pair"  -- pair a device first
    *          "reset" -- reset sync
    */
   openSetup: function (wizardType) {
-    var win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
+    let win = Services.wm.getMostRecentWindow("Weave:AccountSetup");
     if (win)
       win.focus();
     else {
       window.openDialog("chrome://browser/content/sync/setup.xul",
                         "weaveSetup", "centerscreen,chrome,resizable=no",
                         wizardType);
     }
   },
@@ -146,11 +146,11 @@ let gSyncPane = {
       win.focus();
     else 
       window.openDialog("chrome://browser/content/sync/addDevice.xul",
                         "syncAddDevice", "centerscreen,chrome,resizable=no");
   },
 
   resetSync: function () {
     this.openSetup("reset");
-  }
-}
+  },
+};