These are chat archives for opal/opal
So I am currently doing this:
Element.class_eval do # add some new features to Element end if Object.const_defined?("Element")
but this requires that jQuery be referenced before react.rb for things to work... Is there a better way?
begin require 'opal-jquery' Element.class_eval do .... end rescue ... end
Elementhave been defined? like you already had?
opal-browser. Is broken now. Why close method looks so weird ?
paggiojust to make
require 'date'first, since I do in opal-irb it works http://fkchang.github.io/opal-irb/index-jq.html#code:Date.today