Skip to content
Browse files

docs

  • Loading branch information...
1 parent 0755807 commit fd0e2a210843de4587d2dcc8858beb5873dce8c2 @tj tj committed Nov 19, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/jade.js
View
1 lib/jade.js
@@ -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.
Something went wrong with that request. Please try again.