Merge pull request #324 from dead-horse/docs

fix middleware gif, close #322
This commit is contained in:
Jonathan Ong 2014-08-03 20:47:14 -07:00
commit b9c0382694
2 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ app.use(function *(next){
while any code after is the "bubble" phase. This crude gif illustrates how ES6 generators allow us while any code after is the "bubble" phase. This crude gif illustrates how ES6 generators allow us
to properly utilize stack flow to implement request and response flows: to properly utilize stack flow to implement request and response flows:
![koa middleware](https://i.cloudup.com/N7L5UakJo0.gif) ![koa middleware](/docs/middleware.gif)
1. Create a date to track duration 1. Create a date to track duration
2. Yield control to the next middleware 2. Yield control to the next middleware

BIN
docs/middleware.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 KiB