Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/aphlict/Aphlict.js
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | clearSubscriptions: function(subscriptions) { | ||||
| null, | null, | ||||
| {type: 'aphlict.unsubscribe', data: subscriptions}); | {type: 'aphlict.unsubscribe', data: subscriptions}); | ||||
| }, | }, | ||||
| getStatus: function() { | getStatus: function() { | ||||
| return this._status; | return this._status; | ||||
| }, | }, | ||||
| getWebsocket: function() { | |||||
| return this._socket; | |||||
| }, | |||||
| _begin: function() { | _begin: function() { | ||||
| JX.Leader.broadcast( | JX.Leader.broadcast( | ||||
| null, | null, | ||||
| {type: 'aphlict.getstatus'}); | {type: 'aphlict.getstatus'}); | ||||
| JX.Leader.broadcast( | JX.Leader.broadcast( | ||||
| null, | null, | ||||
| {type: 'aphlict.subscribe', data: this._subscriptions}); | {type: 'aphlict.subscribe', data: this._subscriptions}); | ||||
| }, | }, | ||||
| ▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines | |||||