From b25e79dfb599777a38157bd419395bd28369ee86 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 5 Jan 2019 23:51:55 -0800 Subject: [PATCH] Mark two examples as live for the corresponding documentation change in https://github.com/koajs/koajs.com/pull/38. (#1031) 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 504a7f8..2ddc283 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();