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

Unified Diff: utils.js

Issue 10803010: First-run page (Chrome-specific changes) (Closed)
Patch Set: Created May 27, 2013, 4:52 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
« skin/firstRun.css ('K') | « skin/social/twitter.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/utils.js
@@ -0,0 +1,21 @@
+var backgroundPage = chrome.extension.getBackgroundPage();
+var require = backgroundPage.require;
+
+var Synchronizer = require("synchronizer").Synchronizer;
+var Utils = require("utils").Utils;
+var Prefs = require("prefs").Prefs;
+var FilterStorage = require("filterStorage").FilterStorage;
+var FilterNotifier = require("filterNotifier").FilterNotifier;
+
+var subscriptionClasses = require("subscriptionClasses");
+var Subscription = subscriptionClasses.Subscription;
+var DownloadableSubscription = subscriptionClasses.DownloadableSubscription;
+var Filter = require("filterClasses").Filter;
+
+/**
+ * Shortcut for document.getElementById(id)
+ */
+function E(id)
+{
+ return document.getElementById(id);
+}
« skin/firstRun.css ('K') | « skin/social/twitter.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld