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.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
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue