Fix a typo

`appropritaely` → `appropriately`
This commit is contained in:
Prayag Verma 2016-02-13 21:09:26 +05:30
parent 89f539724e
commit 08010416d3

View file

@ -58,7 +58,7 @@ app.use(function *(next){
Note that the final middleware (step __6__) yields to what looks to be nothing - it's actually Note that the final middleware (step __6__) yields to what looks to be nothing - it's actually
yielding to a no-op generator within Koa. This is so that every middleware can conform with the yielding to a no-op generator within Koa. This is so that every middleware can conform with the
same API, and may be placed before or after others. If you removed `yield next;` from the furthest same API, and may be placed before or after others. If you removed `yield next;` from the furthest
"downstream" middleware everything would function appropritaely, however it would no longer conform "downstream" middleware everything would function appropriately, however it would no longer conform
to this behaviour. to this behaviour.
For example this would be fine: For example this would be fine: