Class: Theme.Templater
Defined in: | node_modules/grunt-codo/node_modules/codo/themes/default/lib/templater.coffee |
Instance Method Summary
- # (void) sourceOf(subject)
- # (void) compileAsset(from, to = false)
- # (void) render(template, context = {}, filename = '') Render the given template with the context and the global context object merged as template data.
Constructor Details
#
(void)
constructor(destination)
Instance Method Details
#
(void)
sourceOf(subject)
#
(void)
compileAsset(from, to = false)
#
(void)
render(template, context = {}, filename = '')
Render the given template with the context and the global context object merged as template data. Writes the file as the output filename.