Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN

MozReview-Commit-ID: 8WoGr8i6oCR
This commit is contained in:
Jared Wein
2016-12-29 15:20:47 -05:00
parent f64a7da705
commit 34e228f767
824 changed files with 7774 additions and 7790 deletions

View File

@@ -41,7 +41,7 @@ ContentProcessSingleton.prototype = {
QueryInterface: XPCOMUtils.generateQI([Ci.nsIObserver,
Ci.nsISupportsWeakReference]),
observe: function(subject, topic, data) {
observe(subject, topic, data) {
switch (topic) {
case "app-startup": {
Services.obs.addObserver(this, "console-api-log-event", false);
@@ -104,7 +104,7 @@ ContentProcessSingleton.prototype = {
}
},
receiveMessage: function(message) {
receiveMessage(message) {
// load devtools component on-demand
// Only reply if we are in a real content process
if (Services.appinfo.processType == Services.appinfo.PROCESS_TYPE_CONTENT) {