We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5857d08 + 6b6b6a7 commit 026e847Copy full SHA for 026e847
lib/engine.js
@@ -49,12 +49,11 @@ exports.init = function(root, config) {
49
process: function(template, path, id) {
50
var options = {
51
compileDebug : config && config.debug !== undefined ? config.debug : false,
52
- client : true,
53
filename : path,
54
self : self,
55
globals : globals
56
};
57
- var compiledTemplate = jade.compile(template, options);
+ var compiledTemplate = jade.compileClient(template, options);
58
return '\nwindow.' + namespace + '[\'' + id + '\'] = (' + compiledTemplate + ');\n';
59
}
60
0 commit comments