express
Advanced tools
Comparing version 2.4.2 to 2.4.3
2.4.3 / 2011-07-14 | ||
================== | ||
* Added docs for `status` option special-case. Closes #739 | ||
* Fixed `options.filename`, exposing the view path to template engines | ||
2.4.2. / 2011-07-06 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -31,3 +31,3 @@ | ||
exports.version = '2.4.2'; | ||
exports.version = '2.4.3'; | ||
@@ -34,0 +34,0 @@ /** |
@@ -64,2 +64,3 @@ | ||
// compile | ||
options.filename = view.path; | ||
view.fn = view.templateEngine.compile(view.contents, options); | ||
@@ -417,3 +418,2 @@ cache[cid] = view; | ||
view = exports.compile(view, app.cache, cid, options); | ||
options.filename = view.path; | ||
@@ -420,0 +420,0 @@ // layout helper |
{ | ||
"name": "express", | ||
"description": "Sinatra inspired web development framework", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
107118