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/
skofo has joined #opal
<skofo> Making progress on my Opal-compiled Ruby game framework :) http://skofo.github.io/yeah/examples/testbed/player.html
_byte has joined #opal
_byte has left #opal [#opal]
ryanstout has quit [Quit: ryanstout]
skofo has quit [Ping timeout: 240 seconds]
ch007m has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
elia has joined #opal
ch007m has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mieko has joined #opal
ch007m has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
tils has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has quit [Ping timeout: 268 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
<dimaursu16> guys, could someone point me what could be wrong with my JS to Opal coversion here?
<dimaursu16> it's editable
<dimaursu16> I looked at the compiled code, and it doesn't look as the original at all
<dimaursu16> not that I would care, as long it would work
<dimaursu16> I'm trying to interact with Mozilla's PDFjs library
<dimaursu16> I've written the error too
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
<dimaursu16> There is a object literal in JS, that I didn't change: it is converted into a hash; is this normal?
<dimaursu16> the "renderContext" one
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
dfranciosi has quit []
ch007m has joined #opal
e_dub has quit [Quit: It's a hard knock life]
dimaursu16 has quit [Ping timeout: 268 seconds]
fkchang has joined #opal
dimaursu16 has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boberetezeke has joined #opal
fkchang` has joined #opal
fkchang has quit [Ping timeout: 240 seconds]
ch007m has joined #opal
dimaursu16 has quit [Ping timeout: 268 seconds]
dimaursu16 has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
boberetezeke has quit [Ping timeout: 252 seconds]
fkchang` has quit [Ping timeout: 268 seconds]
boberetezeke has joined #opal
elia has quit [Ping timeout: 255 seconds]
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
ryanstout has joined #opal
elia has joined #opal
DrShoggoth has joined #opal
ch007m has quit [Quit: Textual IRC Client: www.textualapp.com]
<elia> dimaursu16, try with renderContext.to_n
<elia> adambeynon, meh, ping
<elia> any thoughts on requiring js requires to have an explicit .js extension (e.g. require 'runtime.js')
<elia> ?
<elia> adambeynon, brb, I'll check the logs if you answer
elia has quit [Quit: Computer has gone to sleep.]
boberetezeke has quit [Ping timeout: 252 seconds]
boberetezeke has joined #opal
elia has joined #opal
boberetezeke has quit [Ping timeout: 252 seconds]
tils has quit [Remote host closed the connection]
tils has joined #opal
boberetezeke has joined #opal
boberetezeke has quit [Ping timeout: 252 seconds]
<adambeynon> hi elia
<elia> adambeynon, hey!
<adambeynon> I don't have a problem with that
<adambeynon> would make things nicer actually
<adambeynon> no more 'require "opal-jquery"' perhaps..
<elia> «no more 'require "opal-jquery"' perhaps..» uh?
<elia> what do you mean?
<elia> adambeynon, question: is Opal.top a special thing?
<elia> or just an instance of Object (that includes Kernel methods)?
<adambeynon> elia: yeap, it is the "main" object (top for top-level) - its just an instance of Object.new
<adambeynon> elia: I named it "top" because back then we had an Opal.main() function as the entry point into Opal apps
<elia> adambeynon, seems that self.$require fallsback to method missing there
<adambeynon> elia: strange .. are you defining require() under Kernel or Object?
<elia> Kernel
<adambeynon> elia: ahhh, the corelib has some inline require functions now (to make sure the corelib gets required in the right order)
<adambeynon> I think some of these inline requires are getting called before we actually define the method
<elia> right
<adambeynon> we could treat require as a special case, and define that method onKernel inside runtime.js so that it will always be defined first
<adambeynon> Kernel._proto.$require = function() { ... };
<adambeynon> it could still be overriden, but it would atleast get the runtime loaded
<elia> thx
elia has quit [Read error: Connection reset by peer]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
<adambeynon> elia: np. Im around to give a hand this weekend, finally finished the apps I was working on, so ping me if needed (Y)
meh` has joined #opal
skofo has joined #opal
elia has joined #opal
GitHub175 has joined #opal
<GitHub175> opal/real-requires 2d13d86 Elia Schito: Fix requires in spec/cli
<GitHub175> opal/real-requires 65b566b Elia Schito: Cleanup path_finder stubs
GitHub175 has left #opal [#opal]
<GitHub175> opal/real-requires a845201 Elia Schito: Add path_finder lint shared example
<GitHub175> [opal] elia pushed 6 new commits to real-requires: http://git.io/OGA5RA
<elia> adambeynon, ^^^ that still WIP, but almost there
elia has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22297679
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1777 (real-requires - 3175cef : Elia Schito): The build was broken.
dimaursu16 has quit [Ping timeout: 252 seconds]
ryanstewart2 has quit [Ping timeout: 264 seconds]
dimaursu16 has joined #opal
meh` has quit [Ping timeout: 255 seconds]
elia has joined #opal
meh` has joined #opal
[o__o] has left #opal [#opal]
[o__o] has joined #opal
ryanstewart has joined #opal
tils has quit [Ping timeout: 240 seconds]
skofo has quit [Quit: Leaving]
boberetezeke has joined #opal
DrShoggoth has quit [Quit: Leaving]
<elia> meh`, real requires are passing the rspec side :)
boberetezeke has quit [Quit: boberetezeke]
GitHub79 has joined #opal
<GitHub79> [opal] elia pushed 1 new commit to master: http://git.io/gVPitQ
<GitHub79> opal/master 23979b8 Elia Schito: Ignore the cdn dir
GitHub79 has left #opal [#opal]
GitHub193 has joined #opal
<GitHub193> [opal] elia force-pushed real-requires from 3175cef to 6c14219: http://git.io/Q_pLJg
GitHub193 has left #opal [#opal]
<GitHub193> opal/real-requires 30926d9 Elia Schito, Federico Ravasio & Gianluca Randazzo: Changed expect_compiled to be just a wrapper around Opal::Compiler
<GitHub193> opal/real-requires 1cb67e0 Elia Schito, Federico Ravasio & Gianluca Randazzo: Added "requirable" to compiler options to mark files for future requires
<GitHub193> opal/real-requires eb06c7a Elia Schito, Federico Ravasio & Gianluca Randazzo: Compiles require into Javascript as a no-op
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1778 (master - 23979b8 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22310217
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1779 (real-requires - 6c14219 : Elia Schito): The build is still failing.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/22310319
e_dub has joined #opal
boberetezeke has joined #opal