alexspeller / emblem-rails

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

Built-in helper for asset pipeline? #29

Open SeanRoberts opened 10 years ago

SeanRoberts commented 10 years ago

It would be great if, similar to sass-rails, some helpers were provided to deal with the asset pipeline, rather than having to create .emblem.erb files. eg.

img src=assetPath('my-image.png')

rather than

img src=<%= asset_path('my-image.png') %>

Is this something you would consider adding/accepting a pull request for, and if so, what would you want the syntax to look like?