Open clov3r opened 9 years ago
Have the same problem. It worked with ember 1.9.2pre and forked versions of emblem-source and barber-emblem. Then I updated Ember to 1.10 by
rails g ember:install
and removed those forks from the Gemfile. Now I see
Ember.TEMPLATES["application"] = Ember.Handlebars.template([object Object]);
I suppose a rollback to 1.9.2+pre will solve this problem, but I'd like to have ember 1.10.0.
UPD: Oh, one more thing. Debug record for handlebars is missed after update! Now it looks like:
DEBUG: -------------------------------
DEBUG: Ember : 1.10.0
DEBUG: Ember Data : 1.0.0-beta.14.1
DEBUG: jQuery : 2.1.1
DEBUG: -------------------------------
UPD2: Just found that there is no ember 1.9.2pre on the build server. I'm confused.
[Probably related to #32, but I'm using the advised
Ember.TEMPLATES["application"] = Ember.Handlebars.template([object Object]);
original file: templates/application.js.emblem (compiles to the above)
nav.navbar.navbar-inverse.navbar-fixed-top .container .navbar-header button.navbar-toggle.collapsed type="button" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar" span.sr-only Toggle navigation span.icon-bar span.icon-bar span.icon-bar a.navbar-brand href="#" Home
navbar.collapse.navbar-collapse
.container
main = outlet
footer
DEBUG: ------------------------------- DEBUG: Ember : 1.9.1 DEBUG: Ember Data : 1.0.0-beta.14.1 DEBUG: Handlebars : 2.0.0 DEBUG: jQuery : 1.11.1 DEBUG: -------------------------------