Class: Templater
Defined in: | src/util/templater.coffee |
Overview
Haml Coffee template compiler.
Instance Method Summary
- ::constructor(options, referencer, parser) Constructor 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
Construct the templater. Reads all templates and constructs the global template context.