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

Unified Diff: safari/ext/common.js

Issue 5767063142400000: notification fixes (Closed)
Patch Set: removed import of ext/background.js from notification.html Created March 4, 2014, 4: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
« notification.js ('K') | « safari/ext/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/ext/common.js
===================================================================
--- a/safari/ext/common.js
+++ b/safari/ext/common.js
@@ -212,6 +212,12 @@
/* API */
ext = {
+ backgroundPage: {
Thomas Greiner 2014/03/05 13:24:47 ext.backgroundPage is already defined in ext/popup
+ getWindow: function()
+ {
+ return safari.extension.globalPage.contentWindow;
+ }
+ },
getURL: function(path)
{
return safari.extension.baseURI + path;
« notification.js ('K') | « safari/ext/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld