alexspeller / emblem-rails

Emblem.js integration with rails asset pipeline
MIT License
34 stars 21 forks source link

Using w/o Ember #28

Closed romanbsd closed 9 years ago

romanbsd commented 10 years ago

It would be nice if it would be possible to use emblem.js without Ember, for example with Backbone projects, using the https://github.com/leshill/handlebars_assets gem.

KurtPreston commented 10 years ago

+1

machty commented 10 years ago

From the readme:

If you need to compile your Emblem templates with vanilla Handlebars, use the .raw.emblem extension.

Can you try the .raw.emblem suffix and see if it's working?

romanbsd commented 10 years ago

Since then I made this gem, which is supposed to be very minimal: https://github.com/romanbsd/sprockets-emblem

LandonSchropp commented 9 years ago

:+1: It doesn't seem like it should be necessary to depend on Handlebars for this.