Comparing version 0.3.0 to 0.3.1
@@ -105,2 +105,7 @@ var path = require('path'); | ||
'<% } %>' | ||
}, | ||
onResourceOutput: function (res) { | ||
return { | ||
url: res['uri'] | ||
}; | ||
} | ||
@@ -444,4 +449,4 @@ }; | ||
rMap['res'][id] = { | ||
'url': res['uri'] | ||
rMap['res'][id] = options.onResourceOutput(res) || { | ||
url: res['uri'] | ||
}; | ||
@@ -472,3 +477,3 @@ | ||
'url': pkg['uri'] | ||
} | ||
}; | ||
} | ||
@@ -475,0 +480,0 @@ } |
{ | ||
"name": "yog-view", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"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", |
22667
579