lib/haml_coffee_assets/compiler.rb
def compile(name, source, jst = true)
        config = HamlCoffeeAssets.config

        runtime.call('HamlCoffeeAssets.compile', name, source, jst,
                     config.namespace, config.format, config.uglify, config.basename,
                     config.escapeHtml, config.escapeAttributes, config.cleanValue, config.placement, config.dependencies,
                     config.customHtmlEscape, config.customCleanValue,
                     config.customPreserve, config.customFindAndPreserve,
                     config.customSurround, config.customSucceed, config.customPrecede, config.customReference,
                     config.preserveTags, config.selfCloseTags,
                     config.context, false)
      end
# Compile a Haml Coffee template.
#
# @param [String] name the template name
# @param [String] source the template source code
# @param [Boolean] jst if a JST template should be generated
# @return [String] the compiled template in JavaScript
#
Compile a Haml Coffee template.
Compile a Haml Coffee template .
def compile(name, source, jst = true)
        config = HamlCoffeeAssets.config
        runtime.call('HamlCoffeeAssets.compile', name, source, jst,
                     config.namespace, config.format, config.uglify, config.basename,
                     config.escapeHtml, config.escapeAttributes, config.cleanValue, config.placement, config.dependencies,
                     config.customHtmlEscape, config.customCleanValue,
                     config.customPreserve, config.customFindAndPreserve,
                     config.customSurround, config.customSucceed, config.customPrecede, config.customReference,
                     config.preserveTags, config.selfCloseTags,
                     config.context, false)
      end
def compile ( name , source , jst = true ) config = HamlCoffeeAssets . config runtime . call ( 'HamlCoffeeAssets.compile' , name , source , jst , config . namespace , config . format , config . uglify , config . basename , config . escapeHtml , config . escapeAttributes , config . cleanValue , config . placement , config . dependencies , config . customHtmlEscape , config . customCleanValue , config . customPreserve , config . customFindAndPreserve , config . customSurround , config . customSucceed , config . customPrecede , config . customReference , config . preserveTags , config . selfCloseTags , config . context , false ) end
Compile a Haml Coffee template.
Compile a Haml Coffee template .
the compiled template in JavaScript
the compiled template in JavaScript
String
name
source
jst
jst if a JST template should be generated
jst if a JST template should be generated