Closed jorishermans closed 8 years ago
This is my implementation so that we can:
One other possibility would be to add an option to the library to change the default delimiter for the entire file:
var t = new Template(' {{ I am plain text }} [[ i_am_a_tag ]]', delimiter: '[[ ]]'); t.renderString({'i_am_tag': 'foo'});
This is my implementation so that we can:
One other possibility would be to add an option to the library to change the default delimiter for the entire file:
var t = new Template(' {{ I am plain text }} [[ i_am_a_tag ]]', delimiter: '[[ ]]'); t.renderString({'i_am_tag': 'foo'});