Bug 1352481 - Fix a few eslint errors related to unnecessary semicolon usage and incorrect quotes (should have used double quotes for string). r=me
authorJared Wein <jwein@mozilla.com>
Fri, 26 May 2017 13:46:22 -0400
changeset 409068 9bc84b9b18d8f59d4945e8c86daee3617d9fa191
parent 409067 9239079ba11d0136513dc26a205bcdfe3502f242
child 409069 dbeac19df1fe7823e856dd1404542a1f118076f8
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1352481
milestone55.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 1352481 - Fix a few eslint errors related to unnecessary semicolon usage and incorrect quotes (should have used double quotes for string). r=me
browser/components/preferences/in-content/privacy.js
--- a/browser/components/preferences/in-content/privacy.js
+++ b/browser/components/preferences/in-content/privacy.js
@@ -143,24 +143,24 @@ var gPrivacyPane = {
   /**
    * Sets up the UI for the number of days of history to keep, and updates the
    * label of the "Clear Now..." button.
    */
   init() {
     function setEventListener(aId, aEventType, aCallback) {
       document.getElementById(aId)
               .addEventListener(aEventType, aCallback.bind(gPrivacyPane));
-    };
+    }
 
     function appendSearchKeywords(aId, keywords) {
       let element = document.getElementById(aId);
       let searchKeywords = element.getAttribute("searchkeywords");
       searchKeywords && keywords.push(searchKeywords);
-      element.setAttribute("searchkeywords", keywords.join(' '));
-    };
+      element.setAttribute("searchkeywords", keywords.join(" "));
+    }
 
     this._updateSanitizeSettingsButton();
     this.initializeHistoryMode();
     this.updateHistoryModePane();
     this.updatePrivacyMicroControls();
     this.initAutoStartPrivateBrowsingReverter();
     this._initTrackingProtection();
     this._initTrackingProtectionPBM();