Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: popup.js

Issue 8403145: First attempt at creating a first-run page (Closed)
Patch Set: Created Sept. 27, 2012, 8:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « options.js ('k') | skin/checkmark.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: popup.js
===================================================================
--- a/popup.js
+++ b/popup.js
@@ -2,19 +2,16 @@ var backgroundPage = chrome.extension.ge
var imports = ["FilterStorage", "Filter", "isWhitelisted", "extractHostFromURL", "refreshIconAndContextMenu"];
for (var i = 0; i < imports.length; i++)
window[imports[i]] = backgroundPage[imports[i]];
var tab = null;
function init()
{
- // Fill in i18n strings
- loadI18nStrings();
-
// Attach event listeners
$("#enabled").click(toggleEnabled);
$("#clickHideButton").click(activateClickHide);
$("#cancelButton").click(cancelClickHide);
// Ask content script whether clickhide is active. If so, show cancel button.
// If that isn't the case, ask background.html whether it has cached filters. If so,
// ask the user whether she wants those filters.
« no previous file with comments | « options.js ('k') | skin/checkmark.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld