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: Don't use with statement Created Jan. 15, 2014, 4:53 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 | « 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();
+ ext = backgroundPage.ext;
+ TabMap = backgroundPage.TabMap;
Wladimir Palant 2014/01/16 07:46:43 Assigning to undeclared variables isn't the fine a
+})();
« no previous file with comments | « no previous file | metadata.common » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld