handlebars_assets with backbone AND ember... #58

dgdosen opened this Issue Apr 1, 2013 · 3 comments


None yet

3 participants


We have a web site that has several "mini apps" that currently use backbone over rails, leveraging handlebars_assets.

We're wanting to add to this app (might not be an ideal solution) so that our new "mini apps" work with ember instead of backbone.

I'm having problems getting handlebars_assets to play nice in that environment. On one hand, I can get the backbone app to work as it has in the past.

To get ember to work properly, I need an initializer for Handlebars that's configured to help ember, but that changes how the backbone templates are loaded, thereby breaking them.

Is there a way to set how handlebars_assets compiles templates so that both client front ends are happy?

Thanks for any ideas...


Hi @dgdosen,

The config switch is global, so supporting both is not possible without a patch. A quick look shows that having something like recognized a file extension of .ember seems like a reasonable patch to make. Do you want to try it?


haven't forgot about this... I should have some time between now and Monday (4/22)


Fixed by #74 , closing.

@AlexRiedler AlexRiedler closed this Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment