We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a6e4f1 commit 967c69bCopy full SHA for 967c69b
lib/handlebars/runtime.js
@@ -56,7 +56,7 @@ Handlebars.VM = {
56
} else if (!Handlebars.compile) {
57
throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in runtime-only mode");
58
} else {
59
- partials[name] = Handlebars.compile(partial);
+ partials[name] = Handlebars.compile(partial, {data: data !== undefined});
60
return partials[name](context, options);
61
}
62
0 commit comments