aboutsummaryrefslogtreecommitdiff
path: root/js/firefox/background-shim.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/firefox/background-shim.js')
-rw-r--r--js/firefox/background-shim.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/firefox/background-shim.js b/js/firefox/background-shim.js
index 3551e48..d937104 100644
--- a/js/firefox/background-shim.js
+++ b/js/firefox/background-shim.js
@@ -68,8 +68,8 @@ migrateFromOlderVersion();
function makeUrl(relativeUrl) {
return self.data.url(relativeUrl).replace('/data/', '/');
}
-//Get the extension storage from Nightly.
-Cu.import(makeUrl('js/firefox/extension-storage.jsm'));
+
+Cu.import('resource://gre/modules/ExtensionStorage.jsm');
//Create the browser action:
var { ToggleButton } = require("sdk/ui/button/toggle");
@@ -107,7 +107,7 @@ var chrome = {
},
clearCache : function() {
- ExtensionStorage.clearCache();
+ ExtensionStorage.cache.clear();
},
onChanged : {