https://jsfiddle.net/brauliobo/bkdLpa54/1/ won't work without the this on line 9. It will work though without this on riot 2.2.4
It looks like a but in riot-tmpl. @aMarCruz could please check it?
@GianlucaGuarini , fixed in the "dev" branch of riot-tmpl.
thanks @aMarCruz well done!
@aMarCruz could you please publish a new riot-tmpl release?
@aMarCruz I did it for u ;)