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

Unified Diff: chrome/ext/popup.js

Issue 5464830253203456: Refactored the abstraction layer to address prerendered pages on Safari caused by leaky abstraction (Closed)
Patch Set: Fixed issue with element collapsing introduced while rebasing Created April 9, 2014, 6: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
Index: chrome/ext/popup.js
===================================================================
--- a/chrome/ext/popup.js
+++ b/chrome/ext/popup.js
@@ -1,12 +1,8 @@
-(function()
-{
- var backgroundPage = chrome.extension.getBackgroundPage();
- window.ext = {
- __proto__: backgroundPage.ext,
- closePopup: function()
- {
- window.close();
- }
- };
- window.TabMap = backgroundPage.TabMap;
-})();
+window.ext = {
+ __proto__: chrome.extension.getBackgroundPage().ext,
+
+ closePopup: function()
+ {
+ window.close();
+ }
+};
« no previous file with comments | « chrome/ext/content.js ('k') | ext/background.js » ('j') | safari/ext/background.js » ('J')

Powered by Google App Engine
This is Rietveld