Class Templater
Defined in: | src/util/templater.coffee |
Overview
Public: Haml Coffee template compiler.
Instance Method Summary
- ::constructor(options, referencer, parser) Construct the templater.
- ::redirect(file) Redirect template generation to a callback.
- ::render(template, context = {}, filename = '') Render the given template with the context and the global context object merged as template data.
Constructor Details
::constructor(options, referencer, parser) Source
Public: Construct the templater. Reads all templates and constructs
the global template context.
options - The options (a Object)
referencer - The link type referencer (a Referencer)
parser - The biscotto parser (a Parser)