Examples of CoreDirectivesModule


Examples of com.google.template.soy.coredirectives.CoreDirectivesModule


  @Override protected void configure() {

    // Install the core directives.
    install(new CoreDirectivesModule());

    // If no functions or print directives are bound, we want an empty set instead of an error.
    Multibinder.newSetBinder(binder(), SoyFunction.class);
    Multibinder.newSetBinder(binder(), SoyPrintDirective.class);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.