Bug 1371293 - Fix instances of padded-blocks failures after ESLint 4 upgrade. r=miker
authorMark Banner <standard8@mozilla.com>
Mon, 06 Nov 2017 13:45:49 +0000
changeset 436217 17c9e4be5970e73a62953e97851ec52bec85a71e
parent 436216 27416456db70d7a7d72e3a6f95ea0dc8ae2decb5
child 436218 b2b4d1d651c3cb8f7ff799b0b63e9c8636e5a1d4
push id117
push userfmarier@mozilla.com
push dateTue, 28 Nov 2017 20:17:16 +0000
reviewersmiker
bugs1371293
milestone59.0a1
Bug 1371293 - Fix instances of padded-blocks failures after ESLint 4 upgrade. r=miker MozReview-Commit-ID: I9sfn7n7UBs
devtools/client/inspector/changes/changes.js
devtools/client/inspector/events/events.js
devtools/client/inspector/fonts/fonts.js
devtools/client/inspector/grids/grid-inspector.js
devtools/client/inspector/layout/layout.js
--- a/devtools/client/inspector/changes/changes.js
+++ b/devtools/client/inspector/changes/changes.js
@@ -9,17 +9,16 @@ const { Provider } = require("devtools/c
 
 const ChangesApp = createFactory(require("./components/ChangesApp"));
 
 const { LocalizationHelper } = require("devtools/shared/l10n");
 const INSPECTOR_L10N =
   new LocalizationHelper("devtools/client/locales/inspector.properties");
 
 class ChangesView {
-
   constructor(inspector, window) {
     this.document = window.document;
     this.inspector = inspector;
     this.store = inspector.store;
 
     this.init();
   }
 
@@ -41,12 +40,11 @@ class ChangesView {
     this.provider = provider;
   }
 
   destroy() {
     this.document = null;
     this.inspector = null;
     this.store = null;
   }
-
 }
 
 module.exports = ChangesView;
--- a/devtools/client/inspector/events/events.js
+++ b/devtools/client/inspector/events/events.js
@@ -9,17 +9,16 @@ const { Provider } = require("devtools/c
 
 const EventsApp = createFactory(require("./components/EventsApp"));
 
 const { LocalizationHelper } = require("devtools/shared/l10n");
 const INSPECTOR_L10N =
   new LocalizationHelper("devtools/client/locales/inspector.properties");
 
 class EventsView {
-
   constructor(inspector, window) {
     this.document = window.document;
     this.inspector = inspector;
     this.store = inspector.store;
 
     this.init();
   }
 
@@ -41,12 +40,11 @@ class EventsView {
     this.provider = provider;
   }
 
   destroy() {
     this.document = null;
     this.inspector = null;
     this.store = null;
   }
-
 }
 
 module.exports = EventsView;
--- a/devtools/client/inspector/fonts/fonts.js
+++ b/devtools/client/inspector/fonts/fonts.js
@@ -18,17 +18,16 @@ const FontsApp = createFactory(require("
 const { LocalizationHelper } = require("devtools/shared/l10n");
 const INSPECTOR_L10N =
   new LocalizationHelper("devtools/client/locales/inspector.properties");
 
 const { updateFonts } = require("./actions/fonts");
 const { updatePreviewText, updateShowAllFonts } = require("./actions/font-options");
 
 class FontInspector {
-
   constructor(inspector, window) {
     this.document = window.document;
     this.inspector = inspector;
     this.pageStyle = this.inspector.pageStyle;
     this.store = this.inspector.store;
 
     this.update = this.update.bind(this);
 
@@ -179,12 +178,11 @@ class FontInspector {
     if (!this.document) {
       return;
     }
 
     this.store.dispatch(updateFonts(fonts));
 
     this.inspector.emit("fontinspector-updated");
   }
-
 }
 
 module.exports = FontInspector;
--- a/devtools/client/inspector/grids/grid-inspector.js
+++ b/devtools/client/inspector/grids/grid-inspector.js
@@ -39,17 +39,16 @@ const GRID_COLORS = [
   "#4B42FF",
   "#B5007F",
   "#058B00",
   "#A47F00",
   "#005A71"
 ];
 
 class GridInspector {
-
   constructor(inspector, window) {
     this.document = window.document;
     this.highlighters = inspector.highlighters;
     this.inspector = inspector;
     this.store = inspector.store;
     this.telemetry = inspector.telemetry;
     this.walker = this.inspector.walker;
 
@@ -660,12 +659,11 @@ class GridInspector {
 
     for (let grid of grids) {
       if (grid.highlighted) {
         let highlighterSettings = this.getGridHighlighterSettings(grid.nodeFront);
         this.showGridHighlighter(grid.nodeFront, highlighterSettings);
       }
     }
   }
-
 }
 
 module.exports = GridInspector;
--- a/devtools/client/inspector/layout/layout.js
+++ b/devtools/client/inspector/layout/layout.js
@@ -12,17 +12,16 @@ const LayoutApp = createFactory(require(
 const { LocalizationHelper } = require("devtools/shared/l10n");
 const INSPECTOR_L10N =
   new LocalizationHelper("devtools/client/locales/inspector.properties");
 
 loader.lazyRequireGetter(this, "FlexboxInspector", "devtools/client/inspector/flexbox/flexbox");
 loader.lazyRequireGetter(this, "GridInspector", "devtools/client/inspector/grids/grid-inspector");
 
 class LayoutView {
-
   constructor(inspector, window) {
     this.document = window.document;
     this.inspector = inspector;
     this.store = inspector.store;
 
     this.init();
   }
 
@@ -95,12 +94,11 @@ class LayoutView {
    */
   destroy() {
     this.gridInspector.destroy();
 
     this.document = null;
     this.inspector = null;
     this.store = null;
   }
-
 }
 
 module.exports = LayoutView;