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

Hamlbars is a megahack; consider switching to emblem.js? #1

Open
machty opened this issue Apr 2, 2014 · 5 comments
Open

Hamlbars is a megahack; consider switching to emblem.js? #1

machty opened this issue Apr 2, 2014 · 5 comments

Comments

@machty
Copy link

machty commented Apr 2, 2014

Emblem.js was made because hamlbars is quite hacky and requires you to write awkwardly indented things like https://github.com/brandonjmckay/ember-rails-oauth-example/blob/master/app/assets/javascripts/ember-app/templates/sign-in.js.hbs.hamlbars#L5

Would definitely make sense to consider a switch to Emblem here.

@tehviking
Copy link
Contributor

This is how I feel about @machty's suggestion: #2

@machty
Copy link
Author

machty commented Apr 7, 2014

@tehviking <3

@bj-mcduck
Copy link
Owner

I use haml in other projects I work on, so I thought it'd be nice to keep it consistent.

I'd much rather use some kind of templating engine that reduces all the closing code bits rather than not.

@bj-mcduck
Copy link
Owner

When I first heard of emblem, I didn't want to pick up another templating language.
But it seems very concise, which I like.

@bj-mcduck
Copy link
Owner

@machty Ok. damn. Emblem does look really good.

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

3 participants