WIP: use es-modules
This commit is contained in:
parent
ec5b050496
commit
f70967f9bc
144 changed files with 741 additions and 57 deletions
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
import Ox from './../../../Ox/js/Namespace.js';
|
||||
|
||||
/*@
|
||||
Ox.Dialog <f> Dialog object
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
import Ox from './../../../Ox/js/Namespace.js';
|
||||
|
||||
/*@
|
||||
Ox.Layer <f> Background layer for dialogs and menus
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
import Ox from './../../../Ox/js/Namespace.js';
|
||||
|
||||
/*@
|
||||
Ox.SortDialog <f> Dialog with Sortable List
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue