Sentencer
Sentencer copied to clipboard
Changed {{}} to -{}- to avoid popular collision
Vue.js and other popular libraries like handlebars use {{}}, so I converted it to -{}- to avoid errors that emerged from collision
Hi Una! :wave:
It would be a backwards compatibility break to switch the default from {{ }} to -{ }-, but I think having an option to change it within Sentencer.configure would be perfect.
Underscore & lodash have _.templateSettings.evaluate, where you can pass a new regular expression to match against. Something like that could work.
What do you think?