resources/websockets.js in plezi-0.12.17 vs resources/websockets.js in plezi-0.12.18

- old
+ new

@@ -1,5 +1,10 @@ -// Add this file to your html to add websocket support +// Edit and add this file to your html, to implement +// raw websocket support. + +// This file should be edited to implement your raw websocket application logic. + +// For an auto-dispatch, JSON implementation, consoder using the PleziClient. // Your websocket URI should be an absolute path. The following sets the base URI. // remember to update to the specific controller's path to your websocket URI. var ws_controller_path = window.location.pathname; // change to '/controller/path' var ws_uri = (window.location.protocol.match(/https/) ? 'wss' : 'ws') + '://' + window.document.location.host + ws_controller_path