diff options
author | Devaev Maxim <[email protected]> | 2018-08-13 03:56:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-13 03:56:05 +0300 |
commit | b2a05bd1abec6b0d95149a6b7716d2fb7951d4ad (patch) | |
tree | 670e0628ace8d9728826af938390edb06cb0970c /kvmd/web/js/main.js | |
parent | 798bc37fcec208c247e0730c0e37735205bb6dcf (diff) |
refactoring
Diffstat (limited to 'kvmd/web/js/main.js')
-rw-r--r-- | kvmd/web/js/main.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/kvmd/web/js/main.js b/kvmd/web/js/main.js index 5f6b8f73..9739fce5 100644 --- a/kvmd/web/js/main.js +++ b/kvmd/web/js/main.js @@ -1,7 +1,6 @@ function main() { - ui.init(); - hid.init(); - session.loadKvmdVersion(); - session.startPoller(); - stream.startPoller(); + var hid = new Hid(); + new Session(new Atx(), hid, new Msd()); + new Stream(); + new Ui(hid); } |