Class: CoffeeMaker

Defined in: node_modules/haml-coffee/src/cli/coffee-maker.coffee

Class Method Summary

Class Method Details

@compile(source, templateName, namespace = null, compilerOptions = {})

Compiles a Haml-Coffee file to a JavaScript template.

@param [String] source the template source code @param [String] templateName the name of the output template @param [String] namespace the template namespace @param [Object] compilerOptions the compiler options

@compileFile(filename, compilerOptions = {}, namespace = null, templateName = null)

Compiles a Haml-Coffee file to a JavaScript template.

@param [String] filename the Haml coffee file to compile @param [Object] compilerOptions the compiler options @param [String] namespace the template namespace @param [String] templateName the name of the output template

@render(source, compilerOptions = {})

@renderFile(filename, compilerOptions = {})