Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws

MozReview-Commit-ID: 2ZvTiZDHchz
This commit is contained in:
Dave Townsend
2016-11-11 08:10:51 -08:00
parent 71040f1851
commit 4e295aa48d
310 changed files with 1820 additions and 1820 deletions

View File

@@ -11,7 +11,7 @@ this.EXPORTED_SYMBOLS = [
];
// Simple event emitter abstraction for storage objects to use.
function EventEmitter () {
function EventEmitter() {
this._events = new Map();
}

View File

@@ -16,7 +16,7 @@ Cu.import("resource:///modules/syncedtabs/TabListComponent.js");
Cu.import("resource:///modules/syncedtabs/TabListView.js");
let { getChromeWindow } = Cu.import("resource:///modules/syncedtabs/util.js", {});
XPCOMUtils.defineLazyGetter(this, "FxAccountsCommon", function () {
XPCOMUtils.defineLazyGetter(this, "FxAccountsCommon", function() {
return Components.utils.import("resource://gre/modules/FxAccountsCommon.js", {});
});

View File

@@ -23,7 +23,7 @@ this.EXPORTED_SYMBOLS = [
* rerender unless the state flags `isUpdatable`, which helps
* make small changes without the overhead of a full rerender.
*/
const SyncedTabsDeckView = function (window, tabListComponent, props) {
const SyncedTabsDeckView = function(window, tabListComponent, props) {
this.props = props;
this._window = window;

View File

@@ -3,7 +3,7 @@ const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components;
Cu.import("resource://gre/modules/XPCOMUtils.jsm");
Cu.import("resource://gre/modules/Services.jsm");
XPCOMUtils.defineLazyGetter(this, "FxAccountsCommon", function () {
XPCOMUtils.defineLazyGetter(this, "FxAccountsCommon", function() {
return Components.utils.import("resource://gre/modules/FxAccountsCommon.js", {});
});