ember-rails-oauth-example
ember-rails-oauth-example copied to clipboard
Hamlbars is a megahack; consider switching to emblem.js?
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.
This is how I feel about @machty's suggestion: #2
@tehviking <3
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.
When I first heard of emblem, I didn't want to pick up another templating language. But it seems very concise, which I like.
@machty Ok. damn. Emblem does look really good.