Skip to content

Commit

Permalink
fix cols
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed May 14, 2011
1 parent 5a4cba9 commit 9081168
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/jade.js
Expand Up @@ -181,7 +181,9 @@ function parse(str, options){
+ attrs.toString() + '\n\n'
+ escape.toString() + '\n\n'
+ 'var buf = [];\n'
+ (options.self ? 'var self = locals || {}, __ = locals.__;\n' + js : 'with (locals || {}) {' + js + '}')
+ (options.self
? 'var self = locals || {}, __ = locals.__;\n' + js
: 'with (locals || {}) {' + js + '}')
+ 'return buf.join("");';
} catch (err) {
process.compile(js, filename || 'Jade');
Expand Down

0 comments on commit 9081168

Please sign in to comment.