Closed tbranyen closed 10 years ago
@carldanley any thoughts on the following idea:
template:
{{ obj.toUpper 'test' }}
Would then call the respective function with the passed argument:
template.render({ toUpper: function(str) { return str.toUpperCase(); } });
I'm thinking this could be useful for Backbone models:
{{ model.get 'someAttr' }}
Closed via #43
@carldanley any thoughts on the following idea:
template:
Would then call the respective function with the passed argument:
I'm thinking this could be useful for Backbone models: