Skip to content

Commit

Permalink
Merge pull request phoenixframework#865 from gjaldon/patch-3
Browse files Browse the repository at this point in the history
Prettify code snippet example in 0.13 changelog
  • Loading branch information
chrismccord committed May 11, 2015
2 parents 07f4780 + 19bca89 commit 8857eb0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ See these [`0.12.x` to `0.13.0` upgrade instructions](https://gist.github.com/ch
* channel onClose now only triggered on explicit client `leave` or server `:stop`
* Examples:

```javascript
let socket = new Phoenix.Socket("/ws")
let chan = socket.chan("rooms:123", {})
chan.join().receive("ok", ({resp} => ...).receive("error", ({reason}) => ...)
```
## v0.12.0 (2015-04-30)
Expand Down

0 comments on commit 8857eb0

Please sign in to comment.