Module: shared/register_partial

shared/register_partial

Registers partials on a template.
Source:

Methods

(static) registerPartial(name, template)

Registers a partial on the template object.
Parameters:
Name Type Description
name string The name to register.
template function The template to use as a partial.
Source: