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
Constructor Details
.constructor(options, referencer, parser)
Construct the templater. Reads all templates and constructs
Instance Method Details
.redirect(file)
Redirect template generation to a callback.
.render(template, context = {}, filename = '')
Render the given template with the context and the