readme: change `generatorFunction` to `generator function` (#912)

change word `generatorFunction` to `generator function`, because to correspondence with the above form
master
石发磊 2017-02-26 02:59:55 +08:00 committed by jongleberry
parent 0c2d881b67
commit 207aa4e75b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ Koa is a middleware framework that can take 3 different kinds of functions as mi
* common function
* async function
* generatorFunction
* generator function
Here is an example of logger middleware with each of the different functions: