Comparing version 0.0.26 to 0.0.27
@@ -65,3 +65,3 @@ var response = require('./lib/response.js'); | ||
.pipe(res); | ||
} | ||
}; | ||
}; | ||
@@ -68,0 +68,0 @@ |
@@ -41,2 +41,6 @@ var _ = module.exports = {}; | ||
return function resolveEngine(name) { | ||
if (typeof name === 'function'){ | ||
return name; | ||
} | ||
var fn = _.tryResolve(name) || _.tryResolve(path.resolve(root, name)); | ||
@@ -49,3 +53,3 @@ | ||
return require(fn); | ||
} | ||
}; | ||
})(); | ||
@@ -52,0 +56,0 @@ |
{ | ||
"name": "yog-view", | ||
"version": "0.0.26", | ||
"version": "0.0.27", | ||
"description": "An express.js middleware for optimizing the order of js\\css output, and enabling render template in bigpipe mode.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
20870
504