AbstractStaticinitInitializes the handlebar utilities.
The external handlebar object. Is needed so helpers can be registered both inside and outside of Zibri.
The directory where components reside.
StaticparseParses the given handlebars string into an AST.
The handlebars template in form of a string.
Optionaloptions: ParseOptionsAdditional options for parsing the template.
The abstract syntax tree of the template.
StaticrenderCompiles the given handlebars string.
The handlebars template in form of a string.
Optionaloptions: CompileOptionsAdditional options for compilation.
The compiled template function.
StaticrenderStaticrenderRenders the given handlebars template string as html, using the provided data as variables.
The handlebars template string.
The data to use inside the template.
The rendered html content.
Utilities for handling handlebar templates.