aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable/server/base.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-12-18 20:16:27 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2015-12-18 20:19:04 +0900
commit4a7bd88eafa9cfcde843dd7d13d7f9aa88d82526 (patch)
tree50aa87d18a7ea1e104a96228416107ab945aba40 /actioncable/lib/action_cable/server/base.rb
parent13007e57ba74e35993e53a499837ed6fba6907c3 (diff)
downloadrails-4a7bd88eafa9cfcde843dd7d13d7f9aa88d82526.tar.gz
rails-4a7bd88eafa9cfcde843dd7d13d7f9aa88d82526.tar.bz2
rails-4a7bd88eafa9cfcde843dd7d13d7f9aa88d82526.zip
add line break between method of generated channel js
``` # before App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ``` ``` # after App.appearance = App.cable.subscriptions.create "AppearanceChannel", connected: -> # Called when the subscription is ready for use on the server disconnected: -> # Called when the subscription has been terminated by the server received: (data) -> # Called when there's incoming data on the websocket for this channel appear: -> @perform 'appear' away: -> @perform 'away' ```
Diffstat (limited to 'actioncable/lib/action_cable/server/base.rb')
0 files changed, 0 insertions, 0 deletions