refactoring

This commit is contained in:
Devaev Maxim
2018-08-27 13:33:15 +03:00
parent a8773eab1e
commit 9a243eaa04
5 changed files with 59 additions and 63 deletions

View File

@@ -7,9 +7,8 @@ function main() {
) {
$("bad-browser-modal").style.visibility = "visible";
} else {
var hid = new Hid();
var ui = new Ui(hid);
new Session(new Atx(), hid, new Msd());
var ui = new Ui();
new Session(new Atx(), new Hid(), new Msd());
new Stream(ui);
}
}