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

@ -9,8 +9,7 @@
scope = exports;
}
else {
window.scope.hash = {};
scope = window.scope.hash;
scope = require.register("./hash", {});
}
scope.byteArrayToString = function byteArrayToString(byteArray){
return String.fromCharCode.apply(String, new Uint16Array(byteArray.buffer));