These are chat archives for opal/opal

10th
Jan 2016
Elia Schito
@elia
Jan 10 2016 00:01
so, to be precise is ruby gems 2.5.0 that introduced the bug show in opal/opal#1282
Jared White
@jaredcwhite
Jan 10 2016 05:10
Yay for 0.9.2! Glad to see it out of beta, so much cool stuff.
Bernhard Weichel
@bwl21
Jan 10 2016 06:49
cdn.opal.com no longer works.
Elia Schito
@elia
Jan 10 2016 10:16
@bwl21 hey yeah, the .org has been fixed and GitHub doesn't allow more than one domain to be associated to a repo
I'll do what I can to make the .com do a redirect to the right location
Torstein Saltvedt
@saltvedt
Jan 10 2016 21:02
I can see in the comments on the tutorial I'm following that (http://www.sitepoint.com/opal-ruby-browser-game-life/) that the error I'm encountering disappears in opal 0.6.0
getting Uncaught TypeError: Cannot read property '$hash' of undefined
I have to admit that opal feels very opaque
the exception is on line 11256 of my generated javascript, and seems unrelated to my code
offending code is in Opal.defn(self, '$hash', function() { ... }
Torstein Saltvedt
@saltvedt
Jan 10 2016 21:32
figured it out, bug in the code in the tutorial https://github.com/RubySource/opal_article/blob/master/app/conway.rb#L65
guess it was just a concidence it worked in the earlier version