mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +00:00
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:
parent
da0d85ff8c
commit
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.
|
||||
|
Loading…
Reference in New Issue
Block a user