зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
da0d85ff8c
Коммит
c519459b12
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче