Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs

This commit is contained in:
Tooru Fujisawa
2015-09-24 20:32:23 +09:00
parent 9dd92bbcc9
commit afbd2956bc
32 changed files with 310 additions and 182 deletions

View File

@@ -59,7 +59,7 @@ ContentPrefService.prototype = {
Ci.nsIContentPrefService,
Ci.nsISupports,
];
if (supportedIIDs.some(function (i) iid.equals(i)))
if (supportedIIDs.some(i => iid.equals(i)))
return this;
if (iid.equals(Ci.nsIContentPrefService2)) {
if (!this._contentPrefService2) {