WIP: use es-modules
This commit is contained in:
parent
ec5b050496
commit
9c3450947b
146 changed files with 722 additions and 62 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue