Search in sources :

Example 1 with TemplateParserLoggerProvider

use of com.axellience.vuegwt.processors.component.template.parser.jericho.TemplateParserLoggerProvider in project vue-gwt by Axellience.

the class TemplateParser method initJerichoConfig.

private void initJerichoConfig(TemplateParserLogger logger) {
    // Allow as many invalid character in attributes as possible
    Attributes.setDefaultMaxErrorCount(Integer.MAX_VALUE);
    // Allow any element to be self closing
    Config.IsHTMLEmptyElementTagRecognised = true;
    // Use our own logger
    Config.LoggerProvider = new TemplateParserLoggerProvider(logger);
}
Also used : TemplateParserLoggerProvider(com.axellience.vuegwt.processors.component.template.parser.jericho.TemplateParserLoggerProvider)

Aggregations

TemplateParserLoggerProvider (com.axellience.vuegwt.processors.component.template.parser.jericho.TemplateParserLoggerProvider)1