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

Unified Diff: lib/filterComposer.js

Issue 29573801: Issue 4580 - Replace ext.getURL with extension.getURL (Closed) Base URL: https://hg.adblockplus.org/adblockpluschrome/
Patch Set: Created Oct. 11, 2017, 4:15 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 | « ext/common.js ('k') | lib/notificationHelper.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/filterComposer.js
===================================================================
--- a/lib/filterComposer.js
+++ b/lib/filterComposer.js
@@ -213,17 +213,17 @@
updateContextMenu(sender.page);
});
port.on("composer.openDialog", (message, sender) =>
{
return new Promise(resolve =>
{
ext.windows.create({
- url: ext.getURL("composer.html"),
+ url: chrome.extension.getURL("composer.html"),
left: 50,
top: 50,
width: 420,
height: 200,
type: "popup"
},
popupPage =>
{
« no previous file with comments | « ext/common.js ('k') | lib/notificationHelper.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld