From 6eb92c3bd1f38444008b4843737c24495c12cf40 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Mon, 2 Sep 2013 19:18:37 -0700 Subject: [PATCH] docs --- docs/guide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guide.md b/docs/guide.md index 4d33c2d..e44555c 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -54,11 +54,11 @@ app.use(function(next){ 13. Hand off to Koa to handle the response - 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 - 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 - to this behaviour. +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 +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 +to this behaviour. For example this would be fine: