Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleaner support for Ember would be nice #7

Open
go1dfish opened this issue Dec 17, 2013 · 1 comment
Open

Cleaner support for Ember would be nice #7

go1dfish opened this issue Dec 17, 2013 · 1 comment

Comments

@go1dfish
Copy link

It's possible to get autobars working with ember currently with a few modifications.

My hacked together version is here: https://github.com/go1dfish/dig.ccMixter/blob/master/lib/js/jquery-autobars.js

I have to manually rename component templates as well: https://github.com/go1dfish/dig.ccMixter/blob/master/js/app.js

Using autobars allows me to keep the project entirely static; and hostable on github directly from the repo: http://go1dfish.github.com/dig.ccMixter and still maintain a sane file structure with separate template files.

But it seems like it would be possible to add a couple of options to autobars that would allow it to more easily work for ember. The main things that need to be settable are the path to Handlebars (Ember.Handlebars in the case of an Ember environment) for compiling; as well as setting the templates at Ember.TEMPLATES. Component path detection would be cool; but the workaround I use already isn't too bad.

@ryancole
Copy link

ryancole commented Mar 8, 2014

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants