In our application we use the template compiler at runtime by calling Ember.HTMLBars.compile
with a handlebars template. I've tried to upgrade from Ember 2.6 to Ember 2.7 but I get the following error if I try to compile the template:
_ember.default.HTMLBars.compile is not a function()
In the documentation I couldn't find anything changes to the HTMLBars compiler at runtime. How can I still use/enable the HTMLBars compiler at runtime in my application?
Aucun commentaire:
Enregistrer un commentaire