Partial pre-compiled output incorrect
Closed this issue · 1 comments
saunders99999 commented
handlebars: {
compile: {
options: {
amd: "true",
namespace: false
},
running handlebars task on file _mypartial.hbs
actual output in _mypartial.js has extra return
Handlebars.registerPartial("mypartial", return Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
expected output should not have an extra return
Handlebars.registerPartial("mypartial", Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
successful precompilation of partial is also shown here in @pdokas comment
#49
Handlebars.registerPartial("PARTIAL_NAME", Handlebars.template(function (Handlebars,depth0,helpers,partials,data) {
saunders99999 commented