README.md in sinatra-cometio-0.1.5 vs README.md in sinatra-cometio-0.1.6
- old
+ new
@@ -130,9 +130,23 @@
```javascript
io.removeListener("error"); // remove all "error" listener
```
+Config
+------
+
+config.ru
+```ruby
+require 'sinatra'
+require 'sinatra/cometio'
+require File.dirname(__FILE__)+'/main'
+
+set :cometio, :xhr_interval => 20
+
+run Sinatra::Application
+```
+
Sample App
----------
chat app
- http://cometio-chat.herokuapp.com
\ No newline at end of file