Reorganized, made object-oriented, cleaned up.

Note that I have not yet gotten voting working again.
This commit is contained in:
Kerrick Long
2011-06-28 01:24:40 -05:00
parent bf7654c6d9
commit 2c6c3754d5
18 changed files with 410 additions and 454 deletions
+24
View File
@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Mostly Harmless Background Processes</title>
<script type="text/javascript" src="/fancy-settings/lib/store.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script type="text/javascript">
var background;
background = new Background();
function initBackground() {
cache.removeAll();
button.setBadgeDefaults();
chrome.tabs.onUpdated.addListener(background.prepareBrowserAction);
}
window.onload = initBackground;
</script>
</head>
<body id="body"></body>
</html>