meh` has quit [Ping timeout: 244 seconds]
f-3r has joined #opal
f-3r has quit [Changing host]
f-3r has joined #opal
supersym has joined #opal
meh` has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
f-3r has quit [Ping timeout: 255 seconds]
meh` has quit [Ping timeout: 250 seconds]
[spoiler] has joined #opal
[spoiler] has quit [Quit: Leaving]
supersym has quit [Ping timeout: 245 seconds]
meh` has joined #opal
meh` has quit [Client Quit]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Client Quit]
supersym has joined #opal
[spoiler] has joined #opal
elia has joined #opal
elia has quit [Client Quit]
f-3r has joined #opal
<
shlee322>
I made a form of sync by using yield of javascript. Can i pull request?
<
shlee322>
Example)
<
shlee322>
def update
<
shlee322>
puts "test1"
<
shlee322>
yield* Opal.event(function(cb) {
<
shlee322>
setTimeout(cb, 1000);
<
shlee322>
puts "test2"
meh` has joined #opal
meh` has quit [Read error: Connection reset by peer]
meh` has joined #opal
meh` has quit [Ping timeout: 240 seconds]
<
adambeynon>
shlee322: We can’t support that - it only works on very new browsers
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
lacrosse__ has quit [Read error: Connection reset by peer]
CoderPuppy has quit [Read error: Connection reset by peer]
lacrosse__ has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
cpup has joined #opal
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
cpup has quit [Ping timeout: 245 seconds]
cpup has joined #opal
godd2 has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
shevy has joined #opal
omninonsense has joined #opal
[spoiler] has quit [Ping timeout: 244 seconds]
omninonsense is now known as [spoiler]
meh` has joined #opal
<
shevy>
One thing caught my attention:
<
shevy>
"Because true and false compile to their native javascript equivalents, they must share the same class: Boolean."
<
shevy>
"For this reason, they do not belong to their respective TrueClass and FalseClass classes from ruby."
<
shevy>
Do you guys think that Ruby should have a Boolean class? From which TrueClass and FalseClass derive?
<
meh`>
shevy, well, each of us has his own opinion which I don't know
<
meh`>
shevy, the choice is a limitation from javascript
<
shevy>
how does one use opal?
<
shevy>
would I generate the javascript code, and then just put it into a .html file or something like that?
<
meh`>
shevy, depends on the way you have your app setup
<
meh`>
shevy, it uses sprockets, and there's a rails helper thing
<
shevy>
well I think right now I mostly have my ruby in .cgi files
<
meh`>
shevy, you can build the thing upfront, or build it on demand, up to you
cpup has quit [Read error: Connection reset by peer]
cpup has joined #opal
cpup has quit [Read error: Connection reset by peer]
CoderPuppy has joined #opal
supersymmetry has joined #opal
supersym has quit [Ping timeout: 244 seconds]
krainboltgreene_ has joined #opal
krainboltgreene_ is now known as krainboltgreene
meh` has quit [Quit: I don't want to live on this planet anymore.]
elia has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal