I am still not sure Handlebars should be the only template engine supported. As I'm working on a Handlebars component library with custom helpers, i need to register my helpers. As I don't want to put more code depending on Handlebars in DSF itself, I'm trying to introduce the idea of "hooks":
I am still not sure Handlebars should be the only template engine supported. As I'm working on a Handlebars component library with custom helpers, i need to register my helpers. As I don't want to put more code depending on Handlebars in DSF itself, I'm trying to introduce the idea of "hooks":
And this in
lib/dsf.js
, in functioninit
: