tbranyen / combyne

A template engine that works the way you expect.
MIT License
144 stars 19 forks source link

Allow functions to be passed arguments #43

Closed tbranyen closed 10 years ago

tbranyen commented 10 years ago

This should be useful for tools like Backbone to call model attributes:

Old way:

{{ model.attributes.value }}

New way:

{{ model.get 'value' }}