I am using the runtime build of handlebars and trying to use a registered partial. I do:
Handlebars.registerPartial("path/partialname", Handlebars.templates["path/partialname"])
If I use a slash in a partial name like so:
{{> path/partialname}}
I get the error
The partial path.partialname could not be found [...]/lib/handlebars/handlebars.runtime
The “/” seems to be substituted for a “.”
How can I use a “/” inside the partial without modifying the Handlebars.registerPartial call? Thx alot.
Solution I put together: