These are chat archives for opal/opal

16th
Jan 2015
Ryan Stout
@ryanstout
Jan 16 2015 00:11
@adambeynon you around by chance?
Ryan Stout
@ryanstout
Jan 16 2015 00:37
I don't see these files in opal-rspec
Can Edremitoglu
@cantonic
Jan 16 2015 01:01
Ryan Stout
@ryanstout
Jan 16 2015 01:01
@cantonic cool, good to know
Can Edremitoglu
@cantonic
Jan 16 2015 01:03
@ryanstout but it is not in master anymore
Ryan Stout
@ryanstout
Jan 16 2015 01:04
ok, humm
CJ Lazell
@cj
Jan 16 2015 17:32
morning. is there an updated example of http://opalrb.org/docs/sinatra/ for 0.7.0 beta3 ? right now I'm getting undefined method `source_maps' for #<Opal::Server:0x002ac92646f310>
Adam Beynon
@adambeynon
Jan 16 2015 17:35
@cj there isn’t unfortunately. This is how we do it in rails though:
you basically need to create a source map object yourself: Opal::SourceMapServer.new
CJ Lazell
@cj
Jan 16 2015 17:38
@adambeynon hmmm, ok. is it still ok to do run opal.sprockets? or should I build that up myself too?
@adambeynon thank you for the quick response btw, it was driving me nuts :)
CJ Lazell
@cj
Jan 16 2015 20:52
@adambeynon so app.assetswould just be opal.sprockets, what would prefix be?
jsut the path to the file right?
CJ Lazell
@cj
Jan 16 2015 21:00
so this is what I have https://gist.github.com/cj/8e363e15ab9b3db0c775 it's actually giving me the correct line number in the console http://i.imgur.com/jUhZGmk.png but when I click on it the file is empty
hmm seems like the reason is because the path it is trying to access is /assets/components/login.map/login.rb