Remove unused imports and exports
This commit is contained in:
parent
83b2ac0ffc
commit
68843e0cb3
2 changed files with 0 additions and 8 deletions
|
@ -15,7 +15,6 @@ var destroy = require('destroy');
|
|||
var assert = require('assert');
|
||||
var path = require('path');
|
||||
var vary = require('vary');
|
||||
var basename = path.basename;
|
||||
var extname = path.extname;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
|
||||
var Stream = require('stream');
|
||||
var context = require('../lib/context');
|
||||
var request = require('../lib/request');
|
||||
var response = require('../lib/response');
|
||||
var koa = require('..');
|
||||
|
||||
exports = module.exports = function(req, res){
|
||||
|
@ -15,10 +12,6 @@ exports = module.exports = function(req, res){
|
|||
return koa().createContext(req, res);
|
||||
}
|
||||
|
||||
exports.context = function(req, res){
|
||||
return exports(req, res);
|
||||
}
|
||||
|
||||
exports.request = function(req, res){
|
||||
return exports(req, res).request;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue