1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 12:36:37 +02:00

Linted all files.

This commit is contained in:
kkapsner 2015-09-08 11:42:32 +02:00
parent 6c46d28593
commit 0904d8e2a6
6 changed files with 31 additions and 10 deletions

View file

@ -7,11 +7,12 @@ var preferences = require("sdk/simple-prefs");
var prefService = require("sdk/preferences/service");
var prefs = preferences.prefs;
var tabUtils = require("sdk/tabs/utils");
var windowUtils = require("sdk/window/utils");
var lists = require("./lists");
var URL = require("sdk/url").URL;
exports.notify = function(window, callingStackMsg){
"use strict";
var contentURL = new URL(window.location);
if (prefs.showNotifications && !lists.get("ignore").match(contentURL)){
var url = contentURL.href;
@ -94,5 +95,4 @@ exports.notify = function(window, callingStackMsg){
notification.callingStackMsg = callingStackMsg;
}
}
};