ejs-locals
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -8,3 +8,3 @@ { | ||
"description": "Express 3.x locals for layout, partial and blocks.", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"repository": { | ||
@@ -11,0 +11,0 @@ "type": "git", |
@@ -15,8 +15,6 @@ var express = require('express') | ||
app.locals({ | ||
_layoutFile: true | ||
_layoutFile: true, | ||
}) | ||
app.locals.use(function(req,res){ | ||
app.locals.hello = 'there'; | ||
}) | ||
app.locals.hello = 'there'; | ||
@@ -23,0 +21,0 @@ app.get('/',function(req,res,next){ |
40013
913