00:44
skofo has joined #opal
03:56
_byte has joined #opal
03:57
_byte has left #opal [#opal]
05:04
ryanstout has quit [Quit: ryanstout]
05:37
skofo has quit [Ping timeout: 240 seconds]
07:01
ch007m has joined #opal
07:32
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:35
dfranciosi has quit [Remote host closed the connection]
07:35
dfranciosi has joined #opal
08:07
elia has joined #opal
08:43
ch007m has joined #opal
08:57
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
09:59
ch007m has joined #opal
10:19
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:26
mieko has joined #opal
10:27
ch007m has joined #opal
10:50
e_dub has quit [Ping timeout: 240 seconds]
10:52
e_dub has joined #opal
10:52
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:06
ch007m has joined #opal
11:20
tils has joined #opal
11:24
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:44
e_dub has quit [Ping timeout: 268 seconds]
11:46
e_dub has joined #opal
11:50
e_dub has quit [Ping timeout: 252 seconds]
11:53
e_dub has joined #opal
11:53
<
dimaursu16 >
guys, could someone point me what could be wrong with my JS to Opal coversion here?
11:53
<
dimaursu16 >
it's editable
11:54
<
dimaursu16 >
I looked at the compiled code, and it doesn't look as the original at all
11:54
<
dimaursu16 >
not that I would care, as long it would work
11:54
<
dimaursu16 >
I'm trying to interact with Mozilla's PDFjs library
11:56
<
dimaursu16 >
I've written the error too
11:59
dfranciosi has quit [Remote host closed the connection]
12:00
dfranciosi has joined #opal
12:00
<
dimaursu16 >
There is a object literal in JS, that I didn't change: it is converted into a hash; is this normal?
12:01
<
dimaursu16 >
the "renderContext" one
12:12
dfranciosi has quit [Remote host closed the connection]
12:13
dfranciosi has joined #opal
12:30
dfranciosi has quit []
12:45
ch007m has joined #opal
12:45
e_dub has quit [Quit: It's a hard knock life]
13:03
dimaursu16 has quit [Ping timeout: 268 seconds]
13:08
fkchang has joined #opal
13:20
dimaursu16 has joined #opal
13:30
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
13:40
boberetezeke has joined #opal
13:47
fkchang` has joined #opal
13:50
fkchang has quit [Ping timeout: 240 seconds]
14:04
ch007m has joined #opal
14:24
dimaursu16 has quit [Ping timeout: 268 seconds]
14:36
dimaursu16 has joined #opal
14:38
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
14:46
ch007m has joined #opal
14:54
boberetezeke has quit [Ping timeout: 252 seconds]
15:06
fkchang` has quit [Ping timeout: 268 seconds]
15:10
boberetezeke has joined #opal
15:15
elia has quit [Ping timeout: 255 seconds]
15:22
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:23
ch007m has joined #opal
15:34
ch007m has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
15:40
ch007m has joined #opal
16:16
ryanstout has joined #opal
16:24
elia has joined #opal
16:30
DrShoggoth has joined #opal
16:42
<
elia >
dimaursu16, try with renderContext.to_n
16:42
<
elia >
adambeynon, meh, ping
16:43
<
elia >
any thoughts on requiring js requires to have an explicit .js extension (e.g. require 'runtime.js')
16:52
<
elia >
adambeynon, brb, I'll check the logs if you answer
16:52
elia has quit [Quit: Computer has gone to sleep.]
16:55
boberetezeke has quit [Ping timeout: 252 seconds]
17:01
boberetezeke has joined #opal
17:11
elia has joined #opal
17:18
boberetezeke has quit [Ping timeout: 252 seconds]
17:28
tils has quit [Remote host closed the connection]
17:28
tils has joined #opal
17:30
boberetezeke has joined #opal
18:01
boberetezeke has quit [Ping timeout: 252 seconds]
18:04
<
adambeynon >
hi elia
18:05
<
elia >
adambeynon, hey!
18:05
<
adambeynon >
I don't have a problem with that
18:05
<
adambeynon >
would make things nicer actually
18:05
<
adambeynon >
no more 'require "opal-jquery"' perhaps..
18:06
<
elia >
«no more 'require "opal-jquery"' perhaps..» uh?
18:06
<
elia >
what do you mean?
18:06
<
elia >
adambeynon, question: is Opal.top a special thing?
18:07
<
elia >
or just an instance of Object (that includes Kernel methods)?
18:07
<
adambeynon >
elia: yeap, it is the "main" object (top for top-level) - its just an instance of Object.new
18:07
<
adambeynon >
elia: I named it "top" because back then we had an Opal.main() function as the entry point into Opal apps
18:08
<
elia >
adambeynon, seems that self.$require fallsback to method missing there
18:08
<
adambeynon >
elia: strange .. are you defining require() under Kernel or Object?
18:12
<
adambeynon >
elia: ahhh, the corelib has some inline require functions now (to make sure the corelib gets required in the right order)
18:12
<
adambeynon >
I think some of these inline requires are getting called before we actually define the method
18:13
<
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
18:13
<
adambeynon >
Kernel._proto.$require = function() { ... };
18:14
<
adambeynon >
it could still be overriden, but it would atleast get the runtime loaded
18:27
elia has quit [Read error: Connection reset by peer]
18:32
elia has joined #opal
18:56
elia has quit [Quit: Computer has gone to sleep.]
18:58
<
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)
18:59
meh` has joined #opal
19:16
skofo has joined #opal
19:36
elia has joined #opal
19:57
GitHub175 has joined #opal
19:57
<
GitHub175 >
opal/real-requires 2d13d86 Elia Schito: Fix requires in spec/cli
19:57
<
GitHub175 >
opal/real-requires 65b566b Elia Schito: Cleanup path_finder stubs
19:57
GitHub175 has left #opal [#opal]
19:57
<
GitHub175 >
opal/real-requires a845201 Elia Schito: Add path_finder lint shared example
19:58
<
elia >
adambeynon, ^^^ that still WIP, but almost there
19:58
elia has quit [Quit: Computer has gone to sleep.]
20:01
travis-ci has joined #opal
20:01
travis-ci has left #opal [#opal]
20:01
<
travis-ci >
[travis-ci] opal/opal#1777 (real-requires - 3175cef : Elia Schito): The build was broken.
20:26
dimaursu16 has quit [Ping timeout: 252 seconds]
20:35
ryanstewart2 has quit [Ping timeout: 264 seconds]
20:38
dimaursu16 has joined #opal
20:52
meh` has quit [Ping timeout: 255 seconds]
21:03
elia has joined #opal
21:09
meh` has joined #opal
21:19
[o__o] has left #opal [#opal]
21:23
[o__o] has joined #opal
21:31
ryanstewart has joined #opal
21:56
tils has quit [Ping timeout: 240 seconds]
21:59
skofo has quit [Quit: Leaving]
22:20
boberetezeke has joined #opal
22:29
DrShoggoth has quit [Quit: Leaving]
22:57
<
elia >
meh`, real requires are passing the rspec side :)
23:00
boberetezeke has quit [Quit: boberetezeke]
23:00
GitHub79 has joined #opal
23:00
<
GitHub79 >
opal/master 23979b8 Elia Schito: Ignore the cdn dir
23:00
GitHub79 has left #opal [#opal]
23:03
GitHub193 has joined #opal
23:03
GitHub193 has left #opal [#opal]
23:03
<
GitHub193 >
opal/real-requires 30926d9 Elia Schito, Federico Ravasio & Gianluca Randazzo: Changed expect_compiled to be just a wrapper around Opal::Compiler
23:03
<
GitHub193 >
opal/real-requires 1cb67e0 Elia Schito, Federico Ravasio & Gianluca Randazzo: Added "requirable" to compiler options to mark files for future requires
23:03
<
GitHub193 >
opal/real-requires eb06c7a Elia Schito, Federico Ravasio & Gianluca Randazzo: Compiles require into Javascript as a no-op
23:03
travis-ci has joined #opal
23:03
<
travis-ci >
[travis-ci] opal/opal#1778 (master - 23979b8 : Elia Schito): The build passed.
23:03
travis-ci has left #opal [#opal]
23:07
travis-ci has joined #opal
23:07
<
travis-ci >
[travis-ci] opal/opal#1779 (real-requires - 6c14219 : Elia Schito): The build is still failing.
23:07
travis-ci has left #opal [#opal]
23:41
e_dub has joined #opal
23:54
boberetezeke has joined #opal