Merge pull request #589 from frankxin/patch-1
correct a spelling error : appropriately
This commit is contained in:
commit
6e76e20f43
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue