resources/simple-client.js in plezi-0.15.0 vs resources/simple-client.js in plezi-0.15.1
- old
+ new
@@ -7,10 +7,10 @@
// 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 =
- windselfow.location.pathname; // change to '/controller/path'
+ window.location.pathname; // change to '/controller/path'
var ws_uri = (self.location.protocol.match(/https/) ? 'wss' : 'ws') + '://' +
self.document.location.host + ws_controller_path;
// websocket variable.
var websocket = NaN;
// count failed attempts