1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +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

@ -10,10 +10,12 @@
scope = exports;
}
else {
if (!window.scope.logging){
window.scope.logging = {};
if (require.exists("./logging")){
scope = require("./logging");
}
else {
scope = require.register("./logging", {});
}
scope = window.scope.logging;
}
let settings = false;