mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 20:55:48 +00:00
Fix invalid parentheses.
This commit is contained in:
@@ -438,7 +438,7 @@ var isTefFailure = function (engine_result_code) {
|
|||||||
Remote.prototype.add_server = function (opts) {
|
Remote.prototype.add_server = function (opts) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
var url = (opts.secure || opts.websocket_ssl) ? 'wss://' : 'ws://'
|
var url = ((opts.secure || opts.websocket_ssl) ? 'wss://' : 'ws://')
|
||||||
+ (opts.host || opts.websocket_ip) + ':'
|
+ (opts.host || opts.websocket_ip) + ':'
|
||||||
+ (opts.port || opts.websocket_port)
|
+ (opts.port || opts.websocket_port)
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user