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

Unified Diff: stats.js

Issue 16067002: Added Safari Support (Closed)
Patch Set: Removed absolute URL fix for Safari (this is done by the buildtools now), introduced browser specif… Created Oct. 31, 2013, 10:50 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
Index: stats.js
===================================================================
--- a/stats.js
+++ b/stats.js
@@ -17,7 +17,7 @@
(function()
{
- var backgroundPage = chrome.extension.getBackgroundPage();
+ var backgroundPage = ext.backgroundPage.getWindow();
var require = backgroundPage.require;
var getStats = require("stats").getStats;
var FilterNotifier = require("filterNotifier").FilterNotifier;
« _locales/en_US/messages.json ('K') | « safari/content.js ('k') | utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld