Remove unused imports and exports

This commit is contained in:
Jesus Rodriguez 2015-01-29 23:06:23 +01:00 committed by Jonathan Ong
parent 83b2ac0ffc
commit 68843e0cb3
2 changed files with 0 additions and 8 deletions

View file

@ -15,7 +15,6 @@ var destroy = require('destroy');
var assert = require('assert'); var assert = require('assert');
var path = require('path'); var path = require('path');
var vary = require('vary'); var vary = require('vary');
var basename = path.basename;
var extname = path.extname; var extname = path.extname;
/** /**

View file

@ -1,8 +1,5 @@
var Stream = require('stream'); var Stream = require('stream');
var context = require('../lib/context');
var request = require('../lib/request');
var response = require('../lib/response');
var koa = require('..'); var koa = require('..');
exports = module.exports = function(req, res){ exports = module.exports = function(req, res){
@ -15,10 +12,6 @@ exports = module.exports = function(req, res){
return koa().createContext(req, res); return koa().createContext(req, res);
} }
exports.context = function(req, res){
return exports(req, res);
}
exports.request = function(req, res){ exports.request = function(req, res){
return exports(req, res).request; return exports(req, res).request;
} }