ro.isdc.wro.extensions.processor.support.emberjs
Class EmberJs
java.lang.Object
ro.isdc.wro.extensions.processor.support.template.AbstractJsTemplateCompiler
ro.isdc.wro.extensions.processor.support.emberjs.EmberJs
public class EmberJs
- extends AbstractJsTemplateCompiler
EmberJS is a framework which provide a templating engine built on top of Handlebars.
- Author:
- blemoine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmberJs
public EmberJs()
compile
public String compile(String content,
String name)
- visible for testing, the init of a HandlebarsJs template
- Overrides:
compile
in class AbstractJsTemplateCompiler
- Parameters:
content
- the template to be compiled.name
- any additional arguments used by template script.
- Returns:
- the compiled javascript.
getCompileCommand
protected String getCompileCommand()
- Specified by:
getCompileCommand
in class AbstractJsTemplateCompiler
- Returns:
- the js statement used to execute the compilation of the template.
getCompilerAsStream
protected InputStream getCompilerAsStream()
- Specified by:
getCompilerAsStream
in class AbstractJsTemplateCompiler
- Returns:
- the stream of the compiler resource (javascript) used to compile templates.
Copyright © 2008-2013. All Rights Reserved.