These are chat archives for opal/opal
Hi all, I'm just trying to get the opal-parser example from the https://github.com/opal/opal page up and running but I'm falling at the first hurdle. I've got the example html copied in a local html file and I'm running it, only to get the following error in the chrome log: Uncaught TypeError: (cref || _Object).$const_missing is not a function .
I've tried with and without any extensions running... any ideas? I'm guess I'm missing something obvious.
@JPGDavis in case you (or anyone else) are interested: the bug was introduced with the switch from Opal::Sprockets to Opal::Builder
Opal::Sprockets had a special hard-coded line that automatically loaded a library if its name was "opal"
but Opal::Builder doesn't have this hard-coded, so Opal is no longer loaded by default. i'll put in a pull request to fix it, but in the mean time, you can still use the CDN if you load Opal immediately after adding it: