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

Unified Diff: chrome/ext/popup.js

Issue 5220277533278208: Made the bubble use the ext object from the background page instead of including ext/background.js (Closed)
Patch Set: Assigned imported variables to window Created Jan. 16, 2014, 10:49 a.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 | « no previous file | metadata.common » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/ext/popup.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/chrome/ext/popup.js
@@ -0,0 +1,6 @@
+(function()
+{
+ var backgroundPage = chrome.extension.getBackgroundPage();
+ window.ext = backgroundPage.ext;
+ window.TabMap = backgroundPage.TabMap;
+})();
« no previous file with comments | « no previous file | metadata.common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld