Work on user options

This commit is contained in:
calzoneman 2013-12-25 16:18:21 -05:00
parent fc63191773
commit 9d49df6157
8 changed files with 197 additions and 258 deletions

View file

@ -43,7 +43,8 @@ function sendJade(res, view, locals) {
if (!(view in cache) || process.env['DEBUG']) {
var file = path.join(templates, view + '.jade');
var fn = jade.compile(fs.readFileSync(file), {
filename: file
filename: file,
pretty: true
});
cache[view] = fn;
}