aboutsummaryrefslogtreecommitdiffstats
path: root/lib/assets/javascripts/cable/subscriptions.coffee
Commit message (Collapse)AuthorAgeFilesLines
* Better method names in Javascript based on the feedback from @javanPratik Naik2015-10-221-13/+11
|
* Allow rejecting subscriptions from the channelPratik Naik2015-10-211-2/+13
|
* Send subscription confirmation from server to the client to avoid race ↵Pratik Naik2015-10-161-4/+2
| | | | | | | | | | conditions. Without this, it's very easy to send messages over a subscription even before the redis pubsub has been fully initialized. Now we delay calling the subscription#connected method on the client side until we receive a subscription confirmation message from the server.
* .js.coffee -> .coffeeRafael Mendonça França2015-09-021-0/+71
It was initially required, but support for the shorthand has been supported since sprockets 2.1. Eventually 4.x will only support the shorthand version. Just want to get new people using the prefer stuff ASAP.