Cleanup knockout a bit

This commit is contained in:
the-djmaze 2024-10-23 00:37:48 +02:00
parent 4f6783a991
commit 6bdd509b48
5 changed files with 39 additions and 41 deletions

View file

@ -1,2 +1,2 @@
window['ko'] = koExports;
window['ko'] = ko;
})(this);

View file

@ -1,5 +1,4 @@
(window => {
// (0, eval)('this') is a robust way of getting a reference to the global object
// For details, see http://stackoverflow.com/questions/14119988/return-this-0-evalthis/14120023#14120023
var document = window['document'],
koExports = {};
var document = window['document'];