#1 2017-06-27 09:23:09

hnb
Member
Registered: 2015-06-15
Posts: 290

Unhandled helpers in mustache

Hi,

current helpers without parameters are a little problematic:

{{NewGUID}}

will not work. we have workaround (additional fake parameter) which is not intuitive:

{{NewGUID call}}

I have small patch (parameter less helper is searched after context searching):

https://github.com/synopse/mORMot/pull/45

anyway maybe some other syntax for "parameter less" helpers may be better.


best regards,
Maciej Izak

Offline

Board footer

Powered by FluxBB