Permalink
Browse files

[docs] Update code for using union with connect

  • Loading branch information...
1 parent 1b64902 commit d57d3ead116e459878b121922c4c6cad561f71f1 @pksunkara pksunkara committed Jun 12, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.md
View
@@ -21,7 +21,7 @@ There are a few ways to use `union`. Install the library using npm. You can add
## Usage
Union's request handling is [connect](https://github.com/senchalabs/connect)-compatible, meaning that all existing connect middlewares should work out-of-the-box with union.
-(Union 0.3.0 is compatible with connect >= 2.1.0, [Extensively Tested](https://github.com/pksunkara/connect-union))
+**(Union 0.3.x is compatible with connect >= 2.1.0, [Extensively Tested](https://github.com/pksunkara/connect-union))**
In addition, the response object passed to middlewares listens for a "next" event, which is equivalent to calling `next()`. Flatiron middlewares are written in this manner, meaning they are not reverse-compatible with connect.
@@ -101,6 +101,7 @@ var connect = require('connect')
, union = require('union');
var server = union.createServer({
+ buffer: false,
before: [
connect.favicon(),
connect.logger('dev'),

0 comments on commit d57d3ea

Please sign in to comment.