-
Before the "sprockets era" we had a simple `Opal::Builder` class which would simply build a directory of ruby files into an `ouput.js` file. This would be useful for pre-packaging opal gems into a sim…
-
I haven't managed to reproduce this in a smaller testcase, but if you have two files, let's call them `A` and `B` and you have `class LOL; end` in `A` and `class LOL::WUT; end` then `LOL::WUT` won't b…
-
At opal-jquery repository I try:
```
bundle exec rackup
```
and it doesn't work. It seems there is a wrong path (/assets/opal/spec/sprockets_runner.js).
The following doesn't work either:
```
bundl…
ghost updated
11 years ago
-
I'm not understanding how to require one file into another when compiling a standalone library.
Here's a basic scenario:
app.rb
``` ruby
module MyApp
require './app/foo.rb'
end
```
app/foo.rb
`…
-
Mainly for testing; could look at opal-node as a platform for running tests on. Opal must still work well with sprockets, as that will be the primary platform for opal. Could have a SprocketsParser, a…