These are chat archives for opal/opal

10th
Oct 2016
Forrest Chang
@fkchang
Oct 10 2016 21:17
@elia @iliabylich @meh not sure where to direct this wrt eval change in 0.9 to 0.10 fkchang/opal-hot-reloader#5
I'm willing to go w/ the "dirty fix" in fkchang/opal-hot-reloader#5 but thought I'd bring it up
meh.
@meh
Oct 10 2016 21:18
fkchang, doubt the binding parameter will ever be supported for eval
it allows to change variables as well, not just the namespace
and that won't work in JavaScript land unless we always pass an object that is a binding, and all variable accesses go through that object
unless there's something I'm overlooking as far as var scoping goes
Forrest Chang
@fkchang
Oct 10 2016 21:28
@men so then the solution is the dirty trick in fkchang/opal-hot-reloader#6 is the way to go (meant for this to be the 2nd link above)
meh.
@meh
Oct 10 2016 21:55
fkchang, sadly yeah
Forrest Chang
@fkchang
Oct 10 2016 22:43
hmm, this may explain why opal-console is broken on 0.10 too