WIP: use es-modules

This commit is contained in:
j 2026-02-16 22:16:19 +01:00
commit 9c3450947b
146 changed files with 722 additions and 62 deletions

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
/*@
Ox.App <f> Basic application instance that communicates with a JSON API
@ -75,12 +76,12 @@ Ox.App = function(options) {
screen: screen,
time: (+new Date() - self.time) / 1000,
window: {
innerHeight: window.innerHeight,
innerWidth: window.innerWidth,
outerHeight: window.outerHeight,
outerWidth: window.outerWidth,
screenLeft: window.screenLeft,
screenTop: window.screenTop
innerHeight: globalThis.innerHeight,
innerWidth: globalThis.innerWidth,
outerHeight: globalThis.outerHeight,
outerWidth: globalThis.outerWidth,
screenLeft: globalThis.screenLeft,
screenTop: globalThis.screenTop
}
};
}