Index: lib/notificationHelper.js |
=================================================================== |
--- a/lib/notificationHelper.js |
+++ b/lib/notificationHelper.js |
@@ -14,23 +14,25 @@ |
* You should have received a copy of the GNU General Public License |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
/** @module notificationHelper */ |
"use strict"; |
-const {startIconAnimation, stopIconAnimation} = require("icon"); |
-const {Utils} = require("utils"); |
-const {Notification: NotificationStorage} = require("notification"); |
-const {stringifyURL} = require("url"); |
-const {initAntiAdblockNotification} = require("antiadblockInit"); |
-const {Prefs} = require("prefs"); |
-const {showOptions} = require("options"); |
+const {startIconAnimation, stopIconAnimation} = require("./icon"); |
+const {Utils} = require("./utils"); |
+const {Notification: NotificationStorage} = |
+ require("../adblockpluscore/lib/notification"); |
+const {stringifyURL} = require("./url"); |
+const {initAntiAdblockNotification} = |
+ require("../adblockplusui/lib/antiadblockInit"); |
+const {Prefs} = require("./prefs"); |
+const {showOptions} = require("./options"); |
let activeNotification = null; |
let activeButtons = null; |
let defaultDisplayMethods = ["popup"]; |
let displayMethods = Object.create(null); |
displayMethods.critical = ["icon", "notification", "popup"]; |
displayMethods.question = ["notification"]; |
displayMethods.normal = ["notification"]; |