(value: string) => string
(chk: "dustjs-linkedin".Chunk, ctx: "dustjs-linkedin".Context, bodies?: any, params?: any) => any
compile a template body into a string of JavaScript source code
the template string
the name used to register the compiled template into the internal cache. See render().
string
Compiles source directly into a JavaScript function that takes a context and an optional callback (see dust.renderSource). Registers the template under [name] if this argument is supplied.
the template string
the template name (optional).
string
string
Evaluates a compiled source string.
Manufactures a dust.Context instance with its global object set to object.
a plain object or an instance of dust.Context.
register a template into the cache.
the unique template name.
the template function.
Renders the named template and calls callback on completion.context may be a plain object or an instance of dust.Context.
the template name.
a plain object or an instance of dust.Context.
any
any
Compiles and renders source, invoking callback on completion. If no callback is supplied this function returns a Stream object. Use this function when precompilation is not required.
the template string.
a plain object or an instance of dust.Context.
Streams the named template. context may be a plain object or an instance of dust.Context. Returns an instance of dust.Stream.
the template name.
a plain object or an instance of dust.Context.