From 77813770eccfaa03e46c59afe7429a9205441c12 Mon Sep 17 00:00:00 2001 From: Raynos Date: Sat, 31 Dec 2011 12:27:19 +0100 Subject: [PATCH] Fixes #459 --- lib/jade.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/jade.js b/lib/jade.js index 45a568a92..9e466e1da 100644 --- a/lib/jade.js +++ b/lib/jade.js @@ -1,4 +1,3 @@ - /*! * Jade * Copyright(c) 2010 TJ Holowaychuk @@ -145,13 +144,13 @@ exports.compile = function(str, options){ fn = [ 'var __jade = [{ lineno: 1, filename: ' + filename + ' }];' , 'try {' - , parse(String(str), options || {}) + , parse(String(str), options) , '} catch (err) {' , ' rethrow(err, __jade[0].filename, __jade[0].lineno);' , '}' ].join('\n'); } else { - fn = parse(String(str), options || {}); + fn = parse(String(str), options); } if (client) {