moved cache clearing to its own method for future development

This commit is contained in:
Kerrick Long committed 2012-04-29 03:32:45 -05:00
1 parent c502754d05
commit 6cb3e84e0f
2 files changed
+12 -2

No files matched your search

+1 -2
View File
@@ -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();