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,8 @@
'use strict';
import Ox from './../../../Ox/js/Namespace.js';
Ox.UI = Ox.UI || {};
console.log("Ox", Ox, Ox.UI)
Ox.documentReady(function() {
// FIXME: use Ox.$foo everywhere!
@ -16,10 +20,11 @@ Ox.documentReady(function() {
Ox.$elements = {};
//@ Ox.UI.DIMENSIONS <o> Names of horizontal and vertical dimensions
Ox.DIMENSIONS = Ox.UI.DIMENSIONS = {
Ox.UI.DIMENSIONS = {
horizontal: ['width', 'height'],
vertical: ['height', 'width']
};
Ox.DIMENSIONS = Ox.UI.DIMENSIONS;
//@ Ox.UI.EDGES <o> Names of horizontal and vertical edges
Ox.EDGES = Ox.UI.EDGES = {