Class: CoffeeMaker

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

Class Method Summary

Class Method Details

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

Compiles a Haml-Coffee file to a JavaScript template. When the output template is omitted, it will be derived from the file name.

Parameters:

  • filename (String) the Haml coffee file to compile
  • compilerOptions (Object) the compiler options
  • namespace (String) the template namespace
  • templateName (String) the name of the output template