mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Simplified require and further linting.
This commit is contained in:
parent
01c1145e28
commit
dcb878392e
15 changed files with 86 additions and 78 deletions
|
@ -122,7 +122,10 @@ Promise.all([
|
|||
data["canvasBlocker-notifications"].forEach(function(notification){
|
||||
verbose(notification);
|
||||
notification.url = new URL(notification.url);
|
||||
domainNotification(notification.url.hostname, notification.messageId).addNotification(new Notification(notification));
|
||||
domainNotification(
|
||||
notification.url.hostname,
|
||||
notification.messageId
|
||||
).addNotification(new Notification(notification));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue