These are chat archives for opal/opal

13th
Apr 2015
Colin Gunn
@balmoral
Apr 13 2015 01:19
An issue with Date class: #{Date.today} fails on call to #today (in tryopal and volt using opal-0.7.1). Similarly {Date.new.year} fails. But not {Date.new}. Seems wraps of Date methods which are implemented in Ruby are not compiled/visible in JS. Any help appreciated.
Elia Schito
@elia
Apr 13 2015 08:26
@balmoral /try has limited require support, maybe locally would work after requiring 'date'
Forrest Chang
@fkchang
Apr 13 2015 16:19
@adambeynon @elia @meh we should make something like this for opal http://shaunlebron.github.io/solar-system-of-js - the beauty it would be so much less complex
Colin Gunn
@balmoral
Apr 13 2015 21:07
thanks @elia, works in local opal, but not in volt so problem must be there