Skip to content

Commit 026e847

Browse files
committed
Merge pull request #6 from louh/louh-jade-compileclient
Remove use of 'client' option and use 'jade.compileClient' method instead
2 parents 5857d08 + 6b6b6a7 commit 026e847

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/engine.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,11 @@ exports.init = function(root, config) {
4949
process: function(template, path, id) {
5050
var options = {
5151
compileDebug : config && config.debug !== undefined ? config.debug : false,
52-
client : true,
5352
filename : path,
5453
self : self,
5554
globals : globals
5655
};
57-
var compiledTemplate = jade.compile(template, options);
56+
var compiledTemplate = jade.compileClient(template, options);
5857
return '\nwindow.' + namespace + '[\'' + id + '\'] = (' + compiledTemplate + ');\n';
5958
}
6059
};

0 commit comments

Comments
 (0)