summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-11-12 10:50:44 +0300
committerDevaev Maxim <[email protected]>2018-11-12 10:50:44 +0300
commitc38e22591e9bddaec5f7cde4dec4d1787757590b (patch)
tree32d986432225ec6f0f1300a4f8ab4d253eee7f90
parentf540114abe120e8910541b5114ef6bb96c313e8d (diff)
refactoring
-rw-r--r--web/js/main.js2
-rw-r--r--web/js/session.js2
2 files changed, 2 insertions, 2 deletions
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;
/********************************************************************************/