These are chat archives for opal/opal
Opal::Config.source_map_enabled = false. Alternatively, you could just set
config.assets.debug = falsein your
config/development.rb, which will concatenate assets and turn off source maps.
module ServerMethods; endbefore it’s compiled?
module ServerMethods ... end unless RUBY_ENGINE == 'opal'
unless RUBY_ENGINE == 'opal’at the end and it still not compile what is inbetween
module ServerMethodswouldn’t get compiled client side, yes
if RUBY_ENGINE == 'opal'- https://github.com/opal/opal/blob/master/lib/opal/rewriters/opal_engine_check.rb
on_client do ...and
isomorphic do ...
isomorphicdoes the same thing but first does a local eval of the block.
rescue Exception, i'll raise an issue and hopefully get around to a PR...
rescue. As far as I remember, before 0.10
Exceptionby default (which is obviously wrong). Now it handles only subclasses of
JSON.parsethrows a native JS
Errorwhich equals to Opal's