aboutsummaryrefslogtreecommitdiff
path: root/js/background.js
diff options
context:
space:
mode:
authorEinar Egilsson <einar@einaregilsson.com>2015-09-23 14:13:04 +0000
committerEinar Egilsson <einar@einaregilsson.com>2015-09-23 14:13:04 +0000
commit44a77ad615bee660ffdf325606fc806175c536bd (patch)
tree70c3d64787edfd9ab6773c59a04ce3f2550858b6 /js/background.js
parent4d40b9c971fecfd270491e00e0f40c4e41fb1c82 (diff)
3.0 ready
Diffstat (limited to 'js/background.js')
-rw-r--r--js/background.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/background.js b/js/background.js
index f65b10b..a87293a 100644
--- a/js/background.js
+++ b/js/background.js
@@ -14,9 +14,9 @@ var isFirefox = false;
if (typeof chrome == 'undefined') {
isFirefox = true;
var firefoxShim = require('./firefox/background-shim');
- firefoxShim.setLogger(log);
chrome = firefoxShim.chrome;
Redirect = firefoxShim.Redirect;
+ log = firefoxShim.log;
exports.onUnload = function (reason) {
redirectEvent.removeListener(checkRedirects);
chrome.storage.onChanged.removeListener(monitorChanges);