diff options
| author | Alon Levy <alon@pobox.com> | 2015-02-09 16:38:24 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-02-09 17:07:51 +0200 |
| commit | 97a8ff937aeaba6f5b7a409cb3d96d33a1a4c43a (patch) | |
| tree | 3f7467efadf01c140f5408fbb4f5b6c2a0a1cbe2 /src/client/rz_mesh.js | |
| parent | d2d5e0aec0b929b43bbaccd835be3ba3c8915b16 (diff) | |
rz_config: embed in index, remove as module
Still missing:
remove host/port, let client use same as url it was served on.
remove other flags no longer relevant.
better mapping of server config to avoid double work?
Diffstat (limited to 'src/client/rz_mesh.js')
| -rw-r--r-- | src/client/rz_mesh.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/rz_mesh.js b/src/client/rz_mesh.js index 64895713..f452a833 100644 --- a/src/client/rz_mesh.js +++ b/src/client/rz_mesh.js @@ -3,7 +3,7 @@ /** * Manage backend websocket connection */ -define([ 'rz_config', 'util', 'model/diff', 'model/util', 'socketio'], function(rz_config, util, model_diff, model_util, io) { +define([ 'util', 'model/diff', 'model/util', 'socketio'], function(util, model_diff, model_util, io) { var ws_server_url = 'http://%h:%p/graph'; // socketio namespace ws_server_url = ws_server_url.replace('%h', rz_config.rz_server_host); |
