Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Commit b312286

Browse files
committed
Merge pull request #56 from neagle/jade-options
Pass jade options into initial compile, fix #55
2 parents d2b18cd + 0f92719 commit b312286

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compilers/jade.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (raw, cb) {
77
return cb(err)
88
}
99
try {
10-
var html = jade.compile(raw)(options.jade || {})
10+
var html = jade.compile(raw, options.jade || {})()
1111
} catch (err) {
1212
return cb(err)
1313
}

0 commit comments

Comments
 (0)