Comparing version 0.0.3 to 0.0.4
@@ -46,3 +46,3 @@ // todo 用更好的方式继承 app.response. | ||
var prototols = createHanlder(fis, bigpipe, settings.views); | ||
var engine = new Engine(settings); | ||
var engine = new Engine(settings, prototols); | ||
var bufs = []; | ||
@@ -129,2 +129,5 @@ | ||
api.resolve = function(id) { | ||
if (!~id.indexOf(':')) { | ||
return id; | ||
} | ||
return path.join(views, fis.getUri(id)); | ||
@@ -131,0 +134,0 @@ }; |
{ | ||
"name": "yog-view", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "An express.js middleware for optimizing the order of js\\css output, and enabling render template in bigpipe mode.", | ||
@@ -26,4 +26,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"yog-swig": "0.0.4" | ||
"yog-swig": "0.0.5" | ||
} | ||
} |
7063
132
+ Addedyog-swig@0.0.5(transitive)
- Removedyog-swig@0.0.4(transitive)
Updatedyog-swig@0.0.5