vendredi 7 août 2015

Getting error "Cannot read property 'template' of undefined"

I've upgraded my ember version to 1.9.1 and handlebar version to 2.0.0. My templates got compiled successfully.

After compilation, in templates.js file am getting something like,

Ember.TEMPLATES["application"] = Ember.HTMLBars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data).

Is the error due to "Ember.HTMLBars.template", instead it should be compiled like "Ember.Handlebars.template" or some other reason?

How to fix it?




Aucun commentaire:

Enregistrer un commentaire