From c38e22591e9bddaec5f7cde4dec4d1787757590b Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Mon, 12 Nov 2018 10:50:44 +0300 Subject: refactoring --- web/js/main.js | 2 +- web/js/session.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web') diff --git a/web/js/main.js b/web/js/main.js index e68b6ae9..d82939c9 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -10,6 +10,6 @@ function main() { $("bad-browser-modal").style.visibility = "visible"; } else { ui = new Ui(); - new Session(new Streamer(), new Atx(), new Hid(), new Msd()); + new Session(new Hid(), new Atx(), new Msd(), new Streamer()); } } diff --git a/web/js/session.js b/web/js/session.js index e93f0516..9f726a1d 100644 --- a/web/js/session.js +++ b/web/js/session.js @@ -1,4 +1,4 @@ -function Session(streamer, atx, hid, msd) { +function Session(hid, atx, msd, streamer) { // var self = this; /********************************************************************************/ -- cgit v1.2.3