Bug 1244265 followup ESLint fix
authorWes Kocher <wkocher@mozilla.com>
Thu, 28 Apr 2016 15:35:41 -0700
changeset 295524 f7bb3675bb71c81789faabc5e46528e054b8aa90
parent 295523 7828a91e6f834dad9603697ccf0fb92522c49ee5
child 295525 47fdbb8493d02dacde9822d2527c09ae9cfe30d2
push id75951
push userkwierso@gmail.com
push dateFri, 29 Apr 2016 23:01:24 +0000
treeherdermozilla-inbound@f8896b71e9bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1244265
milestone49.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 1244265 followup ESLint fix MozReview-Commit-ID: 6RfemDKbqlH
devtools/client/jsonview/main.js
devtools/client/jsonview/test/browser_jsonview_save_json.js
--- a/devtools/client/jsonview/main.js
+++ b/devtools/client/jsonview/main.js
@@ -7,17 +7,17 @@
 
 "use strict";
 
 const { Cu } = require("chrome");
 const Services = require("Services");
 
 const { XPCOMUtils } = Cu.import("resource://gre/modules/XPCOMUtils.jsm", {});
 
-XPCOMUtils.defineLazyGetter(this, "JsonViewUtils", function() {
+XPCOMUtils.defineLazyGetter(this, "JsonViewUtils", function () {
   return require("devtools/client/jsonview/utils");
 });
 
 /**
  * Singleton object that represents the JSON View in-content tool.
  * It has the same lifetime as the browser. Initialization done by
  * DevTools() object from devtools/client/framework/devtools.js
  */
--- a/devtools/client/jsonview/test/browser_jsonview_save_json.js
+++ b/devtools/client/jsonview/test/browser_jsonview_save_json.js
@@ -7,17 +7,17 @@
 
 const TEST_JSON_URL = URL_ROOT + "valid_json.json";
 
 let { MockFilePicker } = SpecialPowers;
 
 MockFilePicker.init(window);
 MockFilePicker.returnValue = MockFilePicker.returnCancel;
 
-registerCleanupFunction(function() {
+registerCleanupFunction(function () {
   MockFilePicker.cleanup();
 });
 
 add_task(function* () {
   info("Test save JSON started");
 
   yield addJsonViewTab(TEST_JSON_URL);