Replace hasSession by isConnected

This commit is contained in:
Nicolas Le Goff
2014-02-28 00:59:15 +01:00
parent af526beb41
commit 1e2cc2692e
2 changed files with 6 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ define([
throw "You must define a websocket url";
}
if (false === WSConnection.hasSession()) {
if (false === WSConnection.isConnected()) {
WSConnection.connect(options.wsurl);
}