mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
Cleanup require system
This commit is contained in:
parent
11b8ddfcc8
commit
574efa23e7
35 changed files with 45 additions and 67 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue