Skip to content

Commit 85853a6

Browse files
Chris Palmerpde
authored andcommitted
Code-shortening.
1 parent fed7d96 commit 85853a6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/https-everywhere.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ INCLUDE('IOUtil', 'HTTPSRules', 'HTTPS', 'Thread');
119119
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
120120

121121
function HTTPSEverywhere() {
122-
// Hacks to set up logging in each component
123-
HTTPS.log = https_everywhereLog;
124-
HTTPSRules.log = https_everywhereLog;
125-
RuleWriter.log = https_everywhereLog;
122+
123+
// Set up logging in each component:
124+
HTTPS.log = HTTPSRules.log = RuleWriter.log = this.log = https_everywhereLog;
125+
126126
this.log = https_everywhereLog;
127127
this.wrappedJSObject = this;
128128
this.https_rules = HTTPSRules;

0 commit comments

Comments
 (0)