meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
e_dub has joined #opal
e_dub has quit [Quit: ZZZzzz…]
<fkchang`> adambeynon: what causes sprockets to compile opal files into 1 file instead of separate. When I include opal-irb in a rails project, all the opal files get compiled into the application.js in dev mode and then jquery is not included
fkchang` has quit [Ping timeout: 245 seconds]
brixen has quit [Excess Flood]
brixen has joined #opal
davispuh has quit [Ping timeout: 260 seconds]
e_dub has joined #opal
ryanstout has quit [Quit: ryanstout]
boberetezeke has joined #opal
meh`_ has quit [Ping timeout: 264 seconds]
boberetezeke has quit [Ping timeout: 246 seconds]
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 246 seconds]
GitHub134 has joined #opal
<GitHub134> [opal] elia pushed 3 new commits to master: http://git.io/d9BGqQ
<GitHub134> opal/master 0ca07f0 Kyle: Removing giant if statement...
<GitHub134> opal/master 2f49543 Kyle King: Make the Opal Tilt template work in any context.
GitHub134 has left #opal [#opal]
<GitHub134> opal/master fc841f1 Elia Schito: Merge pull request #570 from kylekyle/tilt...
femto has joined #opal
dimon_ has quit [Ping timeout: 260 seconds]
dimon_ has joined #opal
krainboltgreene_ has joined #opal
krainboltgreene has quit [*.net *.split]
Insti has quit [*.net *.split]
Liothen has quit [*.net *.split]
krainboltgreene_ is now known as krainboltgreene
Insti has joined #opal
femto has quit [Remote host closed the connection]
femto has joined #opal
femto has quit [Remote host closed the connection]
femto has joined #opal
meh` has joined #opal
Liothen has joined #opal
Liothen has quit [Changing host]
Liothen has joined #opal
femto has quit []
Insti has quit [Ping timeout: 260 seconds]
Insti has joined #opal
wmnnd has joined #opal
<wmnnd> Hey there, recently I asked about the status of the DateTime class from the Ruby standard libary in Opal.
<wmnnd> I was told that it is not yet supported and there are no plans to implement it.
<wmnnd> However, I have just tried using the native JavaScript date element and it seems to be accessible by Opal pretty much like a Ruby Date object.
<wmnnd> So I wanted to ask: Is this the way Dates should be dealt with in Opal? http://ur1.ca/i2der
<meh`> wmnnd, Time is accessible
<meh`> you don't need to wrap it yourself
<meh`> it works for you because Time is bridged to `Date`
<meh`> DateTime isn't
<meh`> Time, Date and DateTime are different things
wmnnd has quit [Ping timeout: 264 seconds]
wmnnd has joined #opal
<wmnnd> I see, JavaScript Date objects seem to get mapped to Ruby core Time objects.
<meh`> wmnnd, yes, Time is bridged to `Date`
<wmnnd> Mhm, the Time class even brings consistent "rolling over" for dates like 2014-02-29 as in Ruby. Though, I personally find that rather undesirable^^
<wmnnd> But I keep being impressed by Opal :-)
e_dub has quit [Quit: ZZZzzz…]
ylluminarious has joined #opal
ylluminarious has quit [Quit: Linkinus - http://linkinus.com]
ylluminarious has joined #opal
e_dub has joined #opal
wmnnd has quit [Ping timeout: 260 seconds]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
Kilo`byte has quit [*.net *.split]
lectrick has quit [*.net *.split]
Kilo`byte has joined #opal
lectrick has joined #opal
brixen_ has joined #opal
cantonic has joined #opal
brixen_ has quit [Quit: ZNC - http://znc.in]
brixen_ has joined #opal
brixen has quit [Excess Flood]
dimon_ has quit [Ping timeout: 250 seconds]
dimaursu16 has quit [Ping timeout: 250 seconds]
dimon_ has joined #opal
dimaursu16 has joined #opal
cantonic has quit [Quit: cantonic]
cantonic has joined #opal
cantonic has quit [Quit: cantonic]
ylluminarious has quit [Remote host closed the connection]
Lexun has joined #opal
DrShoggoth has joined #opal
ryanstout has joined #opal
DrShoggoth has quit [Max SendQ exceeded]
DrShoggoth has joined #opal
cantonic has joined #opal
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #opal
brixen_ is now known as brixen
wmnnd has joined #opal
[o__o] has quit [Remote host closed the connection]
[o__o] has joined #opal
IlIlIlIlIlIlI has joined #opal
<IlIlIlIlIlIlI> is it possible to build js code from .rb files from the command line utilities opal or opal-build?
<IlIlIlIlIlIlI> I'm trying to build kramdown with $ opal --compile -I lib/kramdown/ lib/kramdown.rb
<IlIlIlIlIlIlI> the stdout is kind of not what I'd expect :D
<IlIlIlIlIlIlI> I've read the documentation, but the command line interface doesn't seem to be explained or exemplified
<IlIlIlIlIlIlI> and as a ruby non-native, I'm pretty much looking for a quick and dirty solution :)
<ryanstout> IlIlIlIlIlIlI: I’m not sure where the command line tools is at the moment, my guess is adambeynon or elia would know
<IlIlIlIlIlIlI> thanks
fkchang` has joined #opal
<wmnnd> Hey there, I just came across a problem because Opal seems to handle while loops different from Ruby MRI.
wmnnd has quit [Quit: Reconnecting]
wmnnd has joined #opal
<wmnnd> Hey there, I just came across a problem because Opal seems to handle while loops different from Ruby MRI.
<meh`> wmnnd, what's the issue?
wmnnd has quit [Client Quit]
wmnnd has joined #opal
<wmnnd> meh`: Sorry, irssi died. The problem seems to be that MRI evaluates the condition after running the scope once regardless of the condition whereas Opal seems to evaluate the condition before running the scope.
<wmnnd> meh`: So, this will give you no output in Opal, unlike in MRI: http://ur1.ca/i2g81
cantonic has quit [Quit: cantonic]
<meh`> wmnnd, open an issue please
<wmnnd> Sure!
cantonic has joined #opal
davispuh has joined #opal
<fkchang`> adambeynon: ping
boberetezeke has joined #opal
boberete1 has joined #opal
boberetezeke has quit [Ping timeout: 260 seconds]
<adambeynon> hye fkchang`
<adambeynon> hey*
ryanstout has quit [Quit: ryanstout]
<fkchang`> adambeynon: need a tip in debugging running opal-irb with opal-rails, just including the gem causes all the opal files to be compiled to application.js instead of as individual files. That would not be so bad, but jquery also doesn't get included. Looking for some pointer to how opal interacts w/sprockets to try to figure out what's wrong.
boberete1 has quit [Ping timeout: 244 seconds]
boberetezeke has joined #opal
brixen has quit [Excess Flood]
brixen has joined #opal
wmnnd has quit [Ping timeout: 250 seconds]
DrShoggoth has quit [Quit: Leaving]
IlIlIlIlIlIlI has left #opal ["PONG :card.freenode.net"]
e_dub has quit [Quit: ZZZzzz…]
meh` has quit [Ping timeout: 260 seconds]
cantonic has quit [Quit: cantonic]
meh` has joined #opal
meh` has quit [Ping timeout: 240 seconds]
boberetezeke has quit [Ping timeout: 244 seconds]
e_dub has joined #opal