Class PrecompileHelper
java.lang.Object
com.github.jknack.handlebars.helper.PrecompileHelper
Precompile a template to JavaScript using handlebars.js.
- Since:
- 0.6.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NAME
The default helper's name.- See Also:
-
INSTANCE
The default and shared instance.
-
-
Method Details
-
apply
Description copied from interface:HelperApply the helper to the context.- Specified by:
applyin interfaceHelper<String>- Parameters:
path- The context object.options- The options object.- Returns:
- A string result.
- Throws:
IOException- If a template cannot be loaded.
-