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

Unified Diff: lib/antiadblockInit.js

Issue 29555744: Issue 5750 - Remove ext_background requires needed for legacy Gecko (Closed)
Patch Set: Created Sept. 25, 2017, 1:57 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 | « no previous file | messageResponder.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/antiadblockInit.js
diff --git a/lib/antiadblockInit.js b/lib/antiadblockInit.js
index a31cb3975df4e99c36c7e09c02347995dba624ef..758206cb699f19bd31d9760ab7734ee58580740e 100644
--- a/lib/antiadblockInit.js
+++ b/lib/antiadblockInit.js
@@ -24,12 +24,6 @@ const {FilterNotifier} = require("filterNotifier");
const {Subscription} = require("subscriptionClasses");
const {Notification} = require("notification");
-let ext;
-if (typeof window != "undefined" && window.ext)
- ({ext} = window);
-else
- ext = require("ext_background");
-
exports.initAntiAdblockNotification = function initAntiAdblockNotification()
{
let notification = {
« no previous file with comments | « no previous file | messageResponder.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld