DrShoggoth has joined #opal
DrShoggoth has quit [Ping timeout: 264 seconds]
DrShoggoth has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
DrShoggoth has quit [Ping timeout: 248 seconds]
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
kludge` has quit [Disconnected by services]
kludge` has joined #opal
elia has joined #opal
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #opal
e_dub has quit [Ping timeout: 264 seconds]
elia has quit [Ping timeout: 268 seconds]
elia has joined #opal
e_dub has joined #opal
GitHub84 has joined #opal
<
GitHub84>
opal-jquery/master 01ae4c6 Elia Schito: Add Event#key_code...
GitHub84 has left #opal [#opal]
<
GitHub84>
opal-jquery/master 9c361a0 Elia Schito: Group Event methods by concern
rubys has joined #opal
meh` has joined #opal
adambeynon has joined #opal
adambeynon has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubys has quit [Ping timeout: 248 seconds]
e_dub has quit [Ping timeout: 264 seconds]
rubys has joined #opal
rubys has left #opal [#opal]
e_dub has joined #opal
DrShoggoth has joined #opal
fkchang has joined #opal
<
elia>
meh`: have a problem with latest opal
<
elia>
TypeError: 'undefined' is not a function (evaluating 'this['$native?'](native$)')
<
meh`>
where is this?
<
meh`>
looks like your this is polluted
<
meh`>
likely a non Opal function
<
meh`>
elia, where are you calling a native?
<
elia>
not calling it
<
meh`>
all specs pass here
<
elia>
k, wait, lemme tear down my stuff and see if it's still there
<
meh`>
are you sure you're on master opal?
<
meh`>
the lines don't add up at all
<
elia>
meh`: im on 0.4.4
<
elia>
ill try with master
elia has quit [Quit: (IRC Client: textualapp.com)]
elia has joined #opal
<
elia>
meh`: this seems to be the offending line: $gvars["$"] = $gvars["global"] = self.$Native(Opal.global);
<
meh`>
elia, what browser?
<
meh`>
here everything works
<
elia>
safari/chrome
<
elia>
digging though
<
meh`>
tried it on chrome here
<
meh`>
still 0.4.4 or master?
<
elia>
meh`: master now,
<
elia>
maybe it's something that has to do with hoisting
<
elia>
Native is missing #native?
<
meh`>
elia, it shouldn't be, it's in Kernel
<
meh`>
elia, in short, it's in the
__proto__
<
meh`>
what the fuck
<
meh`>
you're right
<
meh`>
BasicObject doesn't inherit from Kernel
<
meh`>
why does it work here and all specs pass tho? :|
<
elia>
meh`: in the browser? (the specs)
<
meh`>
I'm convinced it should work
<
meh`>
native? is only called in non BasicObjects
<
meh`>
for instance singleton methods of Native
<
meh`>
and in initialize in the module
<
meh`>
none of which are BasicObjects
GitHub39 has joined #opal
GitHub39 has left #opal [#opal]
<
GitHub39>
opal/master 619d46b Elia Schito: BasicObject is not a Kernel
<
elia>
meh`: fix, but I'll leave the failing spec to you :P
<
elia>
leaving office
<
meh`>
I disagree with the fix, it's a bug in opal
<
meh`>
and it works here
<
meh`>
it doesn't add up
<
meh`>
and it's properly failing, there's something wrong somewhere else
elia has quit [Ping timeout: 264 seconds]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#913 (master - 619d46b : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
e_dub has quit [Ping timeout: 260 seconds]
e_dub has joined #opal
ylluminate has joined #opal
RangerMauve has joined #opal
<
RangerMauve>
Hey, how the heck do I build opal-jquery?
<
RangerMauve>
When I build it using Opal::Builder.build("opal-jquery") It gives me some strange errors in the console and doesn't look right.
<
RangerMauve>
The closure for the library seems to be taking $opal instead of Opal as an argument.
<
RangerMauve>
Also, do I have to include my own copy of JQuery for it or something?
<
RangerMauve>
Or no, I was reading the closure wrong.
<
RangerMauve>
Aha, so I need to include my own copy of jQuery, eh. I like the idea behind all this, but the documentation is a little bit confusing.
RangerMauve has quit [Quit: Page closed]
yllox has joined #opal
ylluminate has quit [Read error: Connection reset by peer]
meh` has quit [Quit: I don't want to live on this planet anymore.]
e_dub has quit [Ping timeout: 256 seconds]
e_dub has joined #opal
e_dub has quit [Quit: It's a hard knock life]
DrShoggoth has quit [Quit: Leaving]