mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 04:26:35 +02:00
Cleanup require system
This commit is contained in:
parent
11b8ddfcc8
commit
574efa23e7
35 changed files with 45 additions and 67 deletions
|
@ -179,5 +179,5 @@
|
|||
return domainNotification;
|
||||
};
|
||||
domainNotification.addAction = addAction;
|
||||
window.scope.domainNotification = domainNotification;
|
||||
require.register("./domainNotification", domainNotification);
|
||||
}());
|
|
@ -5,7 +5,7 @@
|
|||
(function(){
|
||||
"use strict";
|
||||
|
||||
const scope = window.scope.gui = {};
|
||||
const scope = require.register("./gui", {});
|
||||
|
||||
const {error, warning, message, notice, verbose, setPrefix: setLogPrefix} = require("./logging");
|
||||
|
||||
|
|
|
@ -72,5 +72,5 @@
|
|||
update(){}
|
||||
}
|
||||
Notification.addAction = addAction;
|
||||
window.scope.Notification = Notification;
|
||||
require.register("./Notification", Notification);
|
||||
}());
|
Loading…
Add table
Add a link
Reference in a new issue