You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// automaticly register all templates as partials, so we dont have to do it manually
// #190
// also convert slashes to dots in the template name because this is how
// handlebars resolves partial names.
_.each(Handlebars.templates, function(val, key){
var key = key.replace(///g, ".")
Handlebars.partials[key] = val
})
Hi, I am using the runtime build of handlebars and trying to use a registered partial. I do:
If I use a slash in a partial name like so:
I get the error
The "/" seems to be substituted for a "." How can I use a "/" inside the partial without modifying the Handlebars.registerPartial call? Thx alot.
The text was updated successfully, but these errors were encountered: