Class: CoffeeMaker

Defined in: node_modules/grunt-codo/node_modules/codo/node_modules/haml-coffee/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

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

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

Parameters:

  • source ( String ) the template source code
  • templateName ( String ) the name of the output template
  • namespace ( String ) the template namespace
  • compilerOptions ( Object ) the compiler options

. (void) renderFile(filename, compilerOptions = {})

. (void) render(source, compilerOptions = {})

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: