summaryrefslogtreecommitdiff
path: root/kvmd/web/js/main.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-13 03:56:05 +0300
committerDevaev Maxim <[email protected]>2018-08-13 03:56:05 +0300
commitb2a05bd1abec6b0d95149a6b7716d2fb7951d4ad (patch)
tree670e0628ace8d9728826af938390edb06cb0970c /kvmd/web/js/main.js
parent798bc37fcec208c247e0730c0e37735205bb6dcf (diff)
refactoring
Diffstat (limited to 'kvmd/web/js/main.js')
-rw-r--r--kvmd/web/js/main.js9
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);
}