On Tue, Jan 31, 2012 at 2:52 PM, Richard Harding <rick.hard...@canonical.com> wrote: > Yes, you are correct. This then gets into why some of us aren't the biggest > fans of Mustache as a template language. A very similar language with > similar syntax is Handlebars. The nice thing about handlebars is that it > supports the idea of helpers. > > http://handlebarsjs.com/#helpers > > If you follow that idea you could see writing a json_dateparse helper that > you could register and use in your template
I think that that is a quirk of moustache.js, as pystache supports external helpers (and moustache started in ruby, so ... I suspect in-context helpers is a bogon :) -Rob _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : launchpad-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp