Bug 1341037 - Fix ESLint and devtools bustage. r=bustage
authorTim Nguyen <ntim.bugs@gmail.com>
Thu, 23 Feb 2017 14:22:48 +0100
changeset 373518 bc931067e1b3ff9e260f16586b41c13971f07b36
parent 373517 4255c84249ff47eea4688017b5da033a4d0a6f56
child 373519 22b9b71fded8a729f17274a61831c6ec966b2675
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1341037
milestone54.0a1
Bug 1341037 - Fix ESLint and devtools bustage. r=bustage MozReview-Commit-ID: 3Q7iGxOEMP2
devtools/client/webconsole/new-console-output/main.js
--- a/devtools/client/webconsole/new-console-output/main.js
+++ b/devtools/client/webconsole/new-console-output/main.js
@@ -1,24 +1,25 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
  /* global BrowserLoader */
 
 "use strict";
 
-const Cu = Components.utils;
+var Cu = Components.utils;
 
 const { BrowserLoader } = Cu.import("resource://devtools/client/shared/browser-loader.js", {});
 
 this.NewConsoleOutput = function (parentNode, jsterm, toolbox, owner, serviceContainer) {
   // Initialize module loader and load all modules of the new inline
   // preview feature. The entire code-base doesn't need any extra
   // privileges and runs entirely in content scope.
   let NewConsoleOutputWrapper = BrowserLoader({
     baseURI: "resource://devtools/client/webconsole/new-console-output/",
     commonLibRequire: toolbox.browserRequire,
-  window}).require("./new-console-output-wrapper");
+    window
+  }).require("./new-console-output-wrapper");
 
   return new NewConsoleOutputWrapper(
     parentNode, jsterm, toolbox, owner, serviceContainer);
 };