WIP: use es-modules

This commit is contained in:
j 2026-02-16 22:16:19 +01:00
commit f70967f9bc
144 changed files with 741 additions and 57 deletions

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
/*@
Ox.Dialog <f> Dialog object

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
/*@
Ox.Layer <f> Background layer for dialogs and menus

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
/*@
Ox.SortDialog <f> Dialog with Sortable List

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
/*@
Ox.Tooltip <f> Tooltip Object
@ -83,9 +84,9 @@ Ox.Tooltip = function(options, self) {
width = that.width();
height = that.height();
left = Ox.limit(
self.x - Math.round(width / 2), 0, window.innerWidth - width - 8
self.x - Math.round(width / 2), 0, globalThis.innerWidth - width - 8
);
top = self.y > window.innerHeight - height - 16
top = self.y > globalThis.innerHeight - height - 16
? self.y - 16 - height
: self.y + 16;
that.css({