ember-addons / bootstrap-for-ember

Bootstrap for Ember.js
http://ember-addons.github.io/bootstrap-for-ember
Apache License 2.0
704 stars 103 forks source link

Uncaught Type Error thrown on `Ember.Handlebars.compile` lines #160

Closed scottfister closed 10 years ago

scottfister commented 10 years ago

I am implementing with Ember v1.6.1 using Bower. I'm including the bs-core.max.js file after the Ember core files. However I get the error Uncaught TypeError: undefined is not a function on line bs-core.max.js:420 which is this:

...
template: Ember.Handlebars.compile(['{{#if view.content.template}}', '{{bsItemPanePartial view.content.template}}', '{{/if}}'].join("\n"))

This also happens for similar lines in the other files like bs-button.max.js etc.

asaf commented 10 years ago

You need full Handlebars and not only runtime, please see #87