Bug 1219837 - Part 3: Remove use of expression closure from devtools/. r=jryans

--HG--
extra : commitid : DcepCnPCAx3
extra : rebase_source : 74750fbedbb2e9355a81b0512e584f5a262117c6
extra : amend_source : bfb6559eaefb5d12478b8ae7f849aef049488c81
This commit is contained in:
Tooru Fujisawa 2015-10-30 02:48:29 +09:00
Родитель da0d85ff8c
Коммит c519459b12
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -52,7 +52,9 @@ var Converter = Class({
"nsIRequestObserver"
],
get wrappedJSObject() this,
get wrappedJSObject() {
return this;
},
/**
* This component works as such:

Просмотреть файл

@ -39,7 +39,9 @@ var Sniffer = Class({
"nsIContentSniffer",
],
get wrappedJSObject() this,
get wrappedJSObject() {
return this;
},
getMIMETypeFromContent: function(aRequest, aData, aLength) {
// JSON View is enabled only for top level loads only.