These are chat archives for opal/opal

29th
Jul 2016
深渊漫步
@CicholGricenchos
Jul 29 2016 04:18

Hi all, I am following the example in https://github.com/opal/opal-sprockets, and my application.rb is:

require 'opal'
puts "1"

but why is it compiled to Opal.modules["application"] = function(Opal) {};, not (function(Opal){})(Opal)? I am wondering how to run it.