Client: add ui.js; create Client object from ui.js
This commit is contained in:
parent
e746a4e8ca
commit
36ba716ad8
4 changed files with 16 additions and 8 deletions
10
public_html/js/ui.js
Normal file
10
public_html/js/ui.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
"use strict";
|
||||
|
||||
// Global object for debugging purposes
|
||||
let client;
|
||||
|
||||
// Execute this on start (wrapped in an anonymous function)
|
||||
(function() {
|
||||
const wsUri = AppSettings.serverWsUri;
|
||||
client = new Client(wsUri);
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue