public String compile(final String content,final String optionalArgument){
  final RhinoScriptBuilder builder=initScriptBuilder();
  final String argStr=createArgStr(optionalArgument) + createArgStr(getArguments());
  final String compileScript=String.format("%s(%s%s);",getCompileCommand(),WroUtil.toJSMultiLineString(content),argStr);
  return (String)builder.evaluate(compileScript,getCompileCommand());
}

public String compile ( final String content , final String optionalArgument ) { final RhinoScriptBuilder builder = initScriptBuilder ( ) ; final String argStr = createArgStr ( optionalArgument ) + createArgStr ( getArguments ( ) ) ; final String compileScript = String . format ( "%s(%s%s);" , getCompileCommand ( ) , WroUtil . toJSMultiLineString ( content ) , argStr ) ; return ( String ) builder . evaluate ( compileScript , getCompileCommand ( ) ) ; }
compiles the javascript template into plain javascript .
