Commit b3670af1 authored by Maarten's avatar Maarten

Update pushstream.js

Since chrome updated to version 38 it states 'WebSocket.URL' is deprecated. Please use 'WebSocket.url' instead.
parent affe2004
...@@ -564,7 +564,7 @@ Authors: Wandenberg Peixoto <wandenberg@gmail.com>, Rogério Carvalho Schneider ...@@ -564,7 +564,7 @@ Authors: Wandenberg Peixoto <wandenberg@gmail.com>, Rogério Carvalho Schneider
disconnect: function() { disconnect: function() {
if (this.connection) { if (this.connection) {
Log4js.debug("[WebSocket] closing connection to:", this.connection.URL); Log4js.debug("[WebSocket] closing connection to:", this.connection.url);
this.connection.onclose = null; this.connection.onclose = null;
this._closeCurrentConnection(); this._closeCurrentConnection();
this.pushstream._onclose(); this.pushstream._onclose();
...@@ -606,7 +606,7 @@ Authors: Wandenberg Peixoto <wandenberg@gmail.com>, Rogério Carvalho Schneider ...@@ -606,7 +606,7 @@ Authors: Wandenberg Peixoto <wandenberg@gmail.com>, Rogério Carvalho Schneider
disconnect: function() { disconnect: function() {
if (this.connection) { if (this.connection) {
Log4js.debug("[EventSource] closing connection to:", this.connection.URL); Log4js.debug("[EventSource] closing connection to:", this.connection.url);
this.connection.onclose = null; this.connection.onclose = null;
this._closeCurrentConnection(); this._closeCurrentConnection();
this.pushstream._onclose(); this.pushstream._onclose();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment