alexspeller / emblem-rails

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

Cannot read property '3' of undefined #20

Closed mbajur closed 10 years ago

mbajur commented 10 years ago

Hello! I'm trying to use emblem.js in my rails app (mountable engine) and it's crashing on anything other than simple html display. So, this will work:

p Hello world

but those not

p = "Hello world"
= model
each model
# ...

The error it gives me is:

Compiler said: TypeError: Cannot read property '3' of undefined

My env:

machty commented 10 years ago

This is fixed as of this emblem.js commit

All you need to do is bundle update emblem-rails

mbajur commented 10 years ago

Yes, that's true. Thank you :)

On 2 December 2013 19:18, Alex Matchneer notifications@github.com wrote:

This is fixed as of this emblem.js commithttps://github.com/machty/emblem.js/commit/208691718b25bd84c6973501af38c0f300a0c202

All you need to do is bundle update emblem-rails

— Reply to this email directly or view it on GitHubhttps://github.com/alexspeller/emblem-rails/issues/20#issuecomment-29642934 .