Class PrecompileHelper
java.lang.Object
com.github.jknack.handlebars.helper.PrecompileHelper
@Deprecated(since="2024-07-10")
public final class PrecompileHelper
extends Object
implements Helper<String>
Deprecated.
com.github.jknack.handlebars.helper package is deprecated and marked for removal in subsequent releases which will involve removal of the handlebars dependency in AEM.
Precompile a template to JavaScript using handlebars.js.
- Since:
- 0.6.0
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NAME
Deprecated.The default helper's name.- See Also:
-
INSTANCE
Deprecated.The default and shared instance.
-
-
Method Details
-
apply
Deprecated.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.
-