From 5ecc1fe7613d947ce839e907f603d9b2ab977423 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 22 Jul 2017 12:50:34 -0700 Subject: [PATCH] Mark two examples as live for the corresponding documentation change in https://github.com/koajs/koajs.com/pull/38. Reviewed by @tolmasky. --- docs/api/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api/index.md b/docs/api/index.md index 504a7f877..2ddc283da 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -48,6 +48,7 @@ You can also use the [env preset](http://babeljs.io/docs/plugins/preset-env/) wi The obligatory hello world application: + ```js const Koa = require('koa'); const app = new Koa(); @@ -74,6 +75,7 @@ app.listen(3000); middleware to execute downstream, the stack will unwind and each middleware is resumed to perform its upstream behaviour. + ```js const Koa = require('koa'); const app = new Koa();