Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add line break between method of generated channel js | yuuji.yaginuma | 2015-12-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` # 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' ``` | ||||
* | Should also stub the received callback | David Heinemeier Hansson | 2015-12-17 | 1 | -0/+3 |
| | |||||
* | Generate all the ApplicationCable stubs by default, like all other ↵ | David Heinemeier Hansson | 2015-12-16 | 3 | -35/+0 |
| | | | | Application* stubs | ||||
* | Comment out the user handling so default setup connects directly | David Heinemeier Hansson | 2015-12-16 | 1 | -18/+18 |
| | |||||
* | Require tree | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Note that changes to the cable setup requires restarting the server | David Heinemeier Hansson | 2015-12-16 | 3 | -0/+3 |
| | |||||
* | @App could have been set elsewhere | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Fix parent class | David Heinemeier Hansson | 2015-12-16 | 1 | -1/+1 |
| | |||||
* | Move Cable to ActionCable for client-side constant to avoid conflicts | David Heinemeier Hansson | 2015-12-16 | 1 | -2/+2 |
| | |||||
* | Basic channel generator | David Heinemeier Hansson | 2015-12-15 | 5 | -0/+60 |