--
You received this message because you are subscribed to the Google Groups "mustache.java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mustachejava...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
public class MyHelper {
public MyHelper() {}
public String myMethod(String myVar) {
return myVar + "updated";
}
}
Template:
{{#wrapped}}
{{name}} is awesome.
{{/wrapped}}
Hash:
{
"name": "Willy",
"wrapped": function() {
return function(text) {
return "<b>" + render(text) + "</b>"
}
}
}
Output:
<b>Willy is awesome.</b>
How hard would it be to implement the same support in mustache.java? Can I help with the implementation? Please, let me know
Thanks,Vadym