[fix] finished jshint fixes

This commit is contained in:
yawnt 2013-09-25 15:11:04 +02:00
parent 17399e7c3e
commit 455f97e14c

View File

@ -57,14 +57,13 @@ function createRightProxy(type) {
options.ee.emit(ev + 'begin', req, res);
['target', 'forward'].forEach(
function(e) {
if (typeof options[e] === 'string')
options[e] = parse_url(options[e]);
['target', 'forward'].forEach(function(e) {
if (typeof options[e] === 'string')
options[e] = parse_url(options[e]);
});
passes.some(function(pass) {
var evnt = ev + pass.name.toLowerCase() + ':';
var evnt = ev + pass.name.toLowerCase() + ':', val;
/**
* Call of passes functions
@ -76,7 +75,7 @@ function createRightProxy(type) {
*/
options.ee.emit(evnt + 'begin', req, res);
var val = pass(req, res, options, head);
val = pass(req, res, options, head);
options.ee.emit(evnt + 'end');
return val;