Originally reported by: Michael Howitz (Bitbucket: icemac, GitHub: icemac)
When referencing a template which does not exists Handlebars complains that it got undefined as parameter for a function.
Expectation: Test whether the template exists before handing it over to handlebars. Bail with a helpful error message if a template with the given ID cannot be found.
Originally reported by: Michael Howitz (Bitbucket: icemac, GitHub: icemac)
When referencing a template which does not exists Handlebars complains that it got
undefined
as parameter for a function.Expectation: Test whether the template exists before handing it over to handlebars. Bail with a helpful error message if a template with the given ID cannot be found.