ryanstout has quit [Quit: ryanstout]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
meh` has quit [Ping timeout: 246 seconds]
elia has joined #opal
QuarkieFM has joined #opal
QuarkieFM has left #opal ["Leaving"]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
_elia has joined #opal
elia has quit [Ping timeout: 260 seconds]
hiro__ has joined #opal
<
hiro__>
How can I in Opal make an element change when clicked on and then change back after some time?
<
hiro__>
This is what I would expect: Element['h3'].on(:click){|e|e.target.html='new';sleep 5;e.target.html='new'}
<
hiro__>
ehhh, I mean: Element['h3'].on(:click){|e|e.target.html='new';sleep 5;e.target.html='old'}
<
adambeynon>
hi hiro__
<
adambeynon>
opal doesn't support "sleep"
<
adambeynon>
are you using opal-jquery?
_elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
<
hiro__>
but yes I am using opal jquery
<
hiro__>
require 'opal' require 'jquery.js' require 'opal-jquery'
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
f-3r has joined #opal
e_dub has quit [Quit: ZZZzzz…]
meh` has joined #opal
<
hiro__>
adambeynon, any idea?
e_dub has joined #opal
f-3r has quit [Ping timeout: 250 seconds]
j_mcnally has joined #opal
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
meh` has quit [Ping timeout: 258 seconds]
ryanstout has joined #opal
e_dub has quit [Quit: ZZZzzz…]
meh` has joined #opal
meh` has quit [Ping timeout: 260 seconds]
meh` has joined #opal
meh` has quit [Ping timeout: 260 seconds]
e_dub has joined #opal
meh` has joined #opal
meh`_ has joined #opal
meh` has quit [Ping timeout: 240 seconds]
elia has joined #opal
elia has quit [Client Quit]
elia has joined #opal
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 245 seconds]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
e_dub has quit [Quit: ZZZzzz…]
GitHub125 has joined #opal
<
GitHub125>
opal/runtime-style-cleanup b658f09 meh: Some coding style cleanup in the runtime
GitHub125 has left #opal [#opal]
<
meh`_>
elia, see #614
<
meh`_>
elia, also I need bridged classes with a different superclass
<
meh`_>
and I think I know how to do it
<
meh`_>
unless you're already doing it
<
elia>
no, not the superclass for bridged classes
<
elia>
I have a branch in which I try to fix module inclusion inheritance
<
meh`_>
cool, I don't think it should collide too much then
<
elia>
but was more a way to learn how stuff works
<
elia>
meh`_, good job, the closure is nice to isolate by concern
GitHub12 has joined #opal
GitHub12 has left #opal [#opal]
<
GitHub12>
opal/master 95a483f Elia Schito: Merge pull request #614 from opal/runtime-style-cleanup...
GitHub177 has joined #opal
GitHub177 has left #opal [#opal]
travis-ci has joined #opal
<
travis-ci>
opal/opal#2008 (master - 95a483f : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<
elia>
meh`_, btw, there's plenty of cleanups just waiting for you out there in the runtime and core classes… ;)
<
elia>
bedtime, bye
elia has quit [Quit: Computer has gone to sleep.]
e_dub has joined #opal