From 848a9c885b47406842c413ebd9c95a285c67fbb7 Mon Sep 17 00:00:00 2001 From: dead_horse Date: Fri, 6 Nov 2015 00:42:14 +0800 Subject: [PATCH] ocd --- Readme.md | 2 +- lib/application.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 773feb5..d00aedf 100644 --- a/Readme.md +++ b/Readme.md @@ -7,7 +7,7 @@ Expressive HTTP middleware for node.js to make web applications and APIs more enjoyable to write. Koa's middleware stack flows in a stack-like manner, allowing you to perform actions downstream then filter and manipulate the response upstream. Koa's use of generators also greatly increases the readability and robustness of your application. - Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~550 SLOC codebase. This + Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small ~570 SLOC codebase. This includes things like content negotiation, normalization of node inconsistencies, redirection, and a few others. Koa is not bundled with any middleware. diff --git a/lib/application.js b/lib/application.js index 1014842..5721889 100644 --- a/lib/application.js +++ b/lib/application.js @@ -7,7 +7,6 @@ const isGeneratorFunction = require('is-generator-function'); const debug = require('debug')('koa:application'); -const Emitter = require('events'); const onFinished = require('on-finished'); const response = require('./response'); const compose = require('koa-compose'); @@ -17,6 +16,7 @@ const request = require('./request'); const statuses = require('statuses'); const Cookies = require('cookies'); const accepts = require('accepts'); +const Emitter = require('events'); const assert = require('assert'); const Stream = require('stream'); const http = require('http');