Permalink
Browse files

docs

  • Loading branch information...
tj committed Nov 20, 2010
1 parent 0755807 commit fd0e2a210843de4587d2dcc8858beb5873dce8c2
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/jade.js
View
@@ -213,6 +213,7 @@ exports.compile = function(str, options){
? JSON.stringify(options.filename)
: 'undefined';
+ // Reduce closure madness by injecting some locals
var fn = [
'var _ = { lineno: 1, input: ' + input + ', filename: ' + filename + ' };',
rethrow.toString(),

0 comments on commit fd0e2a2

Please sign in to comment.