README.md in angular-faye-rails-0.1.0.4 vs README.md in angular-faye-rails-0.2.0
- old
+ new
@@ -44,9 +44,19 @@
# Get just once (using $q - promise)
$scope.data = Faye.get("/channel-3")
```
+### Configure Faye client
+
+```coffee
+app.factory 'Faye', ['$faye', ($faye) ->
+ $faye "http://localhost:9292/faye", (client) ->
+ client.disable("websocket")
+]
+```
+
+
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)