diff options
author | Devaev Maxim <[email protected]> | 2019-07-13 06:38:55 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-07-13 06:38:55 +0300 |
commit | 98468bfa3069e76862be8e0a19bbe8e3fc6748fa (patch) | |
tree | 8a2cf0083532b2d7058b194410bd32386a7f07d3 /web/share/js/index/main.js | |
parent | ad97aecaf4d043c59d018310b4d8f4852d30b6e0 (diff) |
using js modules
Diffstat (limited to 'web/share/js/index/main.js')
-rw-r--r-- | web/share/js/index/main.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js index 1173558c..fb4bdc71 100644 --- a/web/share/js/index/main.js +++ b/web/share/js/index/main.js @@ -20,10 +20,13 @@ *****************************************************************************/ -var wm; +import {tools, $} from "../tools.js"; +import {checkBrowser} from "../bb.js"; +import {wm, initWindowManager} from "../wm.js"; -function main() { - wm = new WindowManager(); + +export function main() { + initWindowManager(); if (checkBrowser()) { __setAppText(); |