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/
tils` has joined #opal
tils`` has joined #opal
tils has quit [Ping timeout: 264 seconds]
tils` has quit [Ping timeout: 240 seconds]
skofo has joined #opal
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
skofo has quit [Quit: Leaving]
ch007m has joined #opal
dimaursu16 has quit [Ping timeout: 240 seconds]
dimaursu16 has joined #opal
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
elia has joined #opal
tils`` is now known as tils
mieko has quit [Ping timeout: 268 seconds]
<dimaursu16> guys, if I use another JS library with opal, how do I call it?
<dimaursu16> for example PDFjs
<dimaursu16> what I am trying to do is to covert this code to opal -> https://github.com/mozilla/pdf.js/blob/master/examples/helloworld/hello.js
<dimaursu16> aha, I can use the Native object to wrap whatever I need; lets check that
<meh`> dimaursu16,
<meh`> $$.PDFJS.getDocument('helloworld.pdf').then { |pdf| Native(pdf).getPage(1).then { ....
<dimaursu16> ok, I will try it
<meh`> I don't like the Native() in blocks mfm
kludge` has quit [Ping timeout: 252 seconds]
<meh`> but if I wrap blocks into a wrapping block then it could break
<meh`> mmh
kludge` has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
dimaursu16 has quit [Ping timeout: 240 seconds]
e_dub has quit [Ping timeout: 268 seconds]
meh`_ has joined #opal
e_dub has joined #opal
meh` has quit [Ping timeout: 240 seconds]
dimaursu16 has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 255 seconds]
elia has quit [Quit: Computer has gone to sleep.]
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
elia has joined #opal
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
e_dub has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
dimaursu16 has quit [Ping timeout: 268 seconds]
tils has quit [Read error: Connection reset by peer]
dimaursu16 has joined #opal
fkchang has joined #opal
DrShoggoth has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
ryanstout has joined #opal
ch007m has quit [Read error: Connection reset by peer]
ch007m has joined #opal
elia has quit [Ping timeout: 255 seconds]
ryanstout has quit [Ping timeout: 240 seconds]
ryanstout has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
ch007m_2 has joined #opal
ch007m has quit [Ping timeout: 246 seconds]
ch007m_2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ch007m has joined #opal
fkchang` has joined #opal
fkchang has quit [Read error: Connection reset by peer]
dimaursu16 has quit [Read error: Operation timed out]
dimaursu16 has joined #opal
dfranciosi has quit [Remote host closed the connection]
dfranciosi has joined #opal
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has quit [Quit: Leaving]
meh`_ has quit [Ping timeout: 255 seconds]
<ryanstout> logger isn’t in opal yet right?
<ryanstout> the Logger class that is
fkchang` has quit [Ping timeout: 240 seconds]