These are chat archives for opal/opal

22nd
Jul 2017
Billy.Zheng
@zw963
Jul 22 2017 11:58
@/all, After several weeks study, opal, hyperloop, examples from internets, I found I still is a newbie for opal. :worried:
I want test https://github.com/opal/opal-browser/blob/master/README.md in a bare new rails project, without opal-rails included (just gem 'opal' and gem 'opal-browser' added), I think i know what is assets.path and load path for opal, but I still could not make this worked!
couldn't find file 'opal' with type 'application/javascript'
(couldn't find file 'opal-browser' with type 'application/javascript'
Billy.Zheng
@zw963
Jul 22 2017 15:21
Hi, anyone could consider explain //= require 'opal' in app/assets/javascripts/application.js is what doing .
for opal-rails project.
Billy.Zheng
@zw963
Jul 22 2017 15:39
I am thinking about how opal-rails make //= require 'opal' in app/assets/javascripts/application.js work.
// Require the opal runtime and core library
//= require opal