mirror of
https://github.com/wassname/Mostly-Harmless.git
synced 2026-10-04 12:10:45 +08:00
moved cache clearing to its own method for future development
This commit is contained in:
1 parent
c502754d05
commit
6cb3e84e0f
2 files changed
+12
-2
No files matched your search
@@ -12,8 +12,7 @@
|
||||
background = new Background();
|
||||
|
||||
function initBackground() {
|
||||
cache.removeAll();
|
||||
button.setBadgeDefaults();
|
||||
background.clearCache();
|
||||
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
|
||||
background.watchMail();
|
||||
reddit.getReddits();
|
||||
|
||||
Reference in new issue
Block a user