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

Cleanup require system

This commit is contained in:
kkapsner 2019-03-12 22:24:23 +01:00
parent 11b8ddfcc8
commit 574efa23e7
35 changed files with 45 additions and 67 deletions

View file

@ -179,5 +179,5 @@
return domainNotification;
};
domainNotification.addAction = addAction;
window.scope.domainNotification = domainNotification;
require.register("./domainNotification", domainNotification);
}());

View file

@ -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");

View file

@ -72,5 +72,5 @@
update(){}
}
Notification.addAction = addAction;
window.scope.Notification = Notification;
require.register("./Notification", Notification);
}());