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

Side by Side Diff: chrome/ext/popup.js

Issue 5721433737003008: Issue 1985 - Replaced __proto__ with Object.create() and Object.getPrototypeOf() (Closed)
Patch Set: Created Feb. 11, 2015, 11:51 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/ext/background.js ('k') | ext/background.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 window.ext = { 1 window.ext = Object.create(chrome.extension.getBackgroundPage().ext);
2 __proto__: chrome.extension.getBackgroundPage().ext,
3 2
4 closePopup: function() 3 ext.closePopup = function()
5 { 4 {
6 window.close(); 5 window.close();
7 }
8 }; 6 };
OLDNEW
« no previous file with comments | « chrome/ext/background.js ('k') | ext/background.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld