GitHub158 has joined #opal
<
GitHub158>
opal/real-requires 84d6d14 Elia Schito: Mark loaded files
<
GitHub158>
opal/real-requires 664d5b3 Elia Schito: Allow compiled files to be requireable
<
GitHub158>
opal/real-requires 25ffc61 Elia Schito: Preparing method calls for dyn requires
GitHub158 has left #opal [#opal]
<
meh`>
elia, sto morendo dal ridere
<
meh`>
non ho la minima idea di come ci sia entrato
<
elia>
i don't always fix ie8…
<
meh`>
well, I guess we have matrix support now
<
elia>
deserves a changelog entry
<
meh`>
it's not finished
<
meh`>
that's why it was stashed locally
<
elia>
and some rubyspecs I suppose
<
meh`>
but the damage is done
<
elia>
there's still git revert…
<
meh`>
or force push, it is the last commit :P
barry_ has joined #opal
<
elia>
green light here
<
elia>
but save the commit url
<
meh`>
let's just hope adam doesn't kill us
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1699 (real-requires - 84d6d14 : Elia Schito): The build is still failing.
travis-ci has left #opal [#opal]
<
elia>
referred by start page
<
elia>
sounds like TOR
GitHub25 has joined #opal
<
GitHub25>
opal/master 41f196d meh: Use hasOwnProperty.call instead of calling the method...
GitHub25 has left #opal [#opal]
barry has quit [Ping timeout: 265 seconds]
<
elia>
meh`, you just broke my rebase
GitHub115 has joined #opal
<
GitHub115>
opal/real-requires 1ce6de8 Elia Schito: Mark loaded files
GitHub115 has left #opal [#opal]
<
GitHub115>
opal/real-requires 93fba4e Elia Schito: Preparing method calls for dyn requires
<
GitHub115>
opal/real-requires ce2fa90 Elia Schito: Allow compiled files to be requireable
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1700 (master - 41f196d : meh): The build passed.
travis-ci has left #opal [#opal]
elia has quit [Quit: Computer has gone to sleep.]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal#1701 (real-requires - 1ce6de8 : Elia Schito): The build is still failing.
travis-ci has left #opal [#opal]
skofo has joined #opal
<
skofo>
I can't use `Opal.compile` in the browser dev console in an opal-rails project
<
meh`>
skofo, did you require opal-parser.js?
<
skofo>
There we go, thanks meh`!
barry_ has quit [Read error: Connection reset by peer]
barry has joined #opal
GitHub176 has joined #opal
GitHub176 has left #opal [#opal]
<
GitHub176>
opal-browser/master 095887d meh: dom/document: try #css first in #[]...
GitHub2 has joined #opal
<
GitHub2>
opal-browser/master be60543 meh: dom/event: remove old selector in #on!
GitHub2 has left #opal [#opal]
GitHub183 has joined #opal
GitHub183 has left #opal [#opal]
<
GitHub183>
[opal-browser] skofo opened pull request #9: fixed readme's event types (master...readme-fix)
http://git.io/U_WiRQ
GitHub181 has joined #opal
GitHub181 has left #opal [#opal]
<
GitHub181>
[opal-browser] meh closed pull request #9: fixed readme's event types (master...readme-fix)
http://git.io/U_WiRQ
barry has quit [Remote host closed the connection]
barry has joined #opal
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal-browser#86 (master - 095887d : meh): The build is still failing.
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 252 seconds]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#87 (master - be60543 : meh): The build is still failing.
travis-ci has left #opal [#opal]
RoxasShadowRS has quit [Quit: Leaving]
barry has joined #opal
barry has quit [Ping timeout: 252 seconds]
meh` has quit [Ping timeout: 252 seconds]
meh` has joined #opal
GitHub22 has joined #opal
GitHub22 has left #opal [#opal]
<
GitHub22>
opal-browser/master ea858f4 meh: spec: add tunnel identifier
GitHub108 has joined #opal
GitHub108 has left #opal [#opal]
<
GitHub108>
opal-browser/master c21d5df meh: spec: add tunnel identifier
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<
travis-ci>
[travis-ci] opal/opal-browser#89 (master - ea858f4 : meh): The build was canceled.
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#89 (master - ea858f4 : meh): The build was canceled.
travis-ci has left #opal [#opal]
John445 has joined #opal
John445 has quit [Client Quit]
Steve445 has joined #opal
GitHub7 has joined #opal
GitHub7 has left #opal [#opal]
<
GitHub7>
opal-browser/master 1d9d5d6 meh: spec: add tunnel identifier
GitHub189 has joined #opal
<
GitHub189>
opal-browser/master 7ef5486 meh: spec: add tunnel identifier
GitHub189 has left #opal [#opal]
Steve445 has quit [Quit: Steve445]
meh` has quit [Ping timeout: 260 seconds]
barry has joined #opal
Kilo`byte has quit [Ping timeout: 277 seconds]
Kilo`byte has joined #opal
barry has quit [Ping timeout: 252 seconds]
ryanstout has joined #opal
skofo has quit [Excess Flood]
skofo has joined #opal
skofo has quit [Ping timeout: 252 seconds]
ryanstout has quit [Quit: ryanstout]
skofo has joined #opal
skofo has quit [Ping timeout: 252 seconds]
skofo has joined #opal
skofo has quit [Client Quit]
Steve445 has joined #opal
Steve445 has quit [Quit: Steve445]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 252 seconds]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 252 seconds]
kings has joined #opal
barry has joined #opal
barry has quit [Client Quit]
dimaursu16 has joined #opal
kludge` has quit [Ping timeout: 265 seconds]
kludge` has joined #opal
kings has quit [Quit: Leaving...]
RoxasShadowRS has joined #opal
DouweM has joined #opal
gravityblast has joined #opal
gravityblast has quit [Remote host closed the connection]
gravityblast has joined #opal
meh` has joined #opal
gravityblast has quit [Quit: gravityblast]
elia has joined #opal
gravityblast has joined #opal
gravityblast has quit [Quit: gravityblast]
elia has quit [Quit: Computer has gone to sleep.]
DouweM has quit [Quit: Leaving...]
ryanstout has joined #opal
GitHub87 has joined #opal
GitHub87 has left #opal [#opal]
<
GitHub87>
opal-browser/master c2cf3b0 meh: spec: exit early on connection error
ryanstout has quit [Client Quit]
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#93 (master - c2cf3b0 : meh): The build failed.
travis-ci has left #opal [#opal]
GitHub90 has joined #opal
GitHub90 has left #opal [#opal]
<
GitHub90>
opal-browser/master a6c6c54 meh: spec: catch errors in the screenshoter
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#94 (master - a6c6c54 : meh): The build was fixed.
travis-ci has left #opal [#opal]
<
adambeynon>
meh`: the screenshot thingy looks helpful too
<
meh`>
adambeynon, yeah
werebutt has joined #opal
werebutt has left #opal [#opal]
meh` has quit [Ping timeout: 240 seconds]
meh` has joined #opal
ryanstout has joined #opal
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Quit: ryanstout]
<
dimaursu16>
how do I call javascript functions provided by other libraries?
<
dimaursu16>
I have something like $("input.datetimepicker").datetimepicker()
<
dimaursu16>
and I suppose I can't just call Element.find("input.datetimepicker").datetimepicker()
<
dimaursu16>
I saw something like `function_name()`
<
dimaursu16>
with backticks
<
adambeynon>
dimaursu16: you can put any javascript you like inside backticks
<
adambeynon>
result = `$("input.datetimepicker").datetimepicker()`
<
adambeynon>
dimaursu16: if you use that method quite often, you can actually get the Element class to expose it
<
adambeynon>
Element.expose(:datetimepicker)
<
adambeynon>
then Element.find("input.datetimepicker").datetimepicker will work
meh` has quit [Ping timeout: 248 seconds]
<
dimaursu16>
nah, actually I call it just once
<
dimaursu16>
also, if I use 'opal-jquery' should I remove the 'rails-jquery' gem?
<
adambeynon>
dimaursu16: nope, keep it there. opal-jquery doesnt actually ship with jquery.js as there are so many versions
<
dimaursu16>
aha, so it's just a wrapper
<
adambeynon>
yeap. plan is to make it more ruby-like than it is now
<
adambeynon>
but at the moment, most of the method names are the same
DouweM has joined #opal
meh` has joined #opal
<
meh`>
dimaursu16, did anyone answer to your question?
<
dimaursu16>
meh`: yes :)
ryanstout has joined #opal
_whitelogger has joined #opal
<
meh`>
adambeynon, warning, possible super bug
<
meh`>
wasted the past hour trying to pinpoint where this was failing
<
meh`>
still unsure
<
adambeynon>
meh`: a new one?
<
meh`>
adambeynon, I think so
<
meh`>
still debugging
<
meh`>
becomes even harder when all you have is alert
<
adambeynon>
meh`: no puts?
<
meh`>
adambeynon, nope, there's no console.log in IE8
<
meh`>
or well, none that is working
<
meh`>
and sadly it would be more effort to make that path in the code work in other browsers than to just using alerts
<
meh`>
what the heck
<
meh`>
it must be super
<
meh`>
adambeynon, this is how it goes
<
meh`>
to_proc: Event.new(event, self)
<
meh`>
self is a Callback object
<
meh`>
into Event.new: event is fine, self is fine
<
meh`>
into Event#initialize: event is fine, self is nil
<
meh`>
by self in the above two lines I mean the Callback
<
meh`>
somehow it gets lost
<
adambeynon>
meh`: is Event source on github?
<
meh`>
adambeynon, not with the changes I have
<
meh`>
adambeynon, do you have IE8?
<
meh`>
because you can't go through that path without it
<
adambeynon>
meh`: not on here, no
<
adambeynon>
meh`: where is the super call?
<
adambeynon>
in #initialize?
<
meh`>
I think that part of the code is online
<
meh`>
give me a sec
<
meh`>
locally I normalized it to remove the *args, thought it might be splat bug
<
meh`>
now I have value, callback = nil
<
meh`>
might very well be an IE8 bug for all I know
<
meh`>
I'll go for a smoke and try to debug with a real debugger
<
meh`>
maybe I'll figure it out that way
<
adambeynon>
meh`: just so I understand the codepath, does IE8 support value.type ?
<
adambeynon>
as in, is it retuning a proper value?
<
meh`>
adambeynon, yes
<
meh`>
klass will ALWAYS return an Event class
<
meh`>
either Event or a subclass
<
meh`>
I mean, class_for
<
meh`>
always returns a class that has Event in its ancestors
<
adambeynon>
meh`: we did have issues with `super` with rest args
<
adambeynon>
but im pretty sure that was fixed
<
meh`>
adambeynon, yes, they aren't present anymore
<
adambeynon>
meh`: yeah, the only thing I can really see is a super() bug
<
adambeynon>
not sure how or where though
<
meh`>
I'm going with a real debugger now
<
meh`>
what the fuck
<
meh`>
this can't be right
<
meh`>
adambeynon, this is weird
<
meh`>
triple what the fuck
<
meh`>
I think it's my own bug
<
meh`>
but it was caused from another super bug
<
meh`>
let's see if ti was fixed
<
meh`>
adambeynon, yeah, we have a bug with super
<
meh`>
but it was an unfixed one
<
meh`>
ok, works now
<
meh`>
let's see if the super is fixed
<
meh`>
adambeynon, disregard everything
<
meh`>
all green on IE8
GitHub38 has joined #opal
<
GitHub38>
opal-browser/master 04f1a93 meh: spec: enable IE8 and IE9
<
GitHub38>
opal-browser/master 2116bfc meh: dom/event: support custom events in IE8
GitHub38 has left #opal [#opal]
<
meh`>
and now we wait
<
adambeynon>
meh`: lol
<
adambeynon>
the runners seem to be faster than I thought they would
<
adambeynon>
meh`: also, whats broken with the chrome driver?
<
adambeynon>
the spec format?
<
adambeynon>
as in our html ?
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#95 (master - 04f1a93 : meh): The build was broken.
travis-ci has left #opal [#opal]
<
meh`>
stupid safari
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#95 (master - 04f1a93 : meh): The build was broken.
travis-ci has left #opal [#opal]
<
adambeynon>
meh`: I wonder if we could (when an error occurs) get the formatter to only show the failures
<
adambeynon>
basically, just uncheck the checkbox for passing specs
<
adambeynon>
might make the screenshots easier to read
<
adambeynon>
the safari one cuts off past the end of screen
<
meh`>
adambeynon, that's hoping the formatter actually does work
<
meh`>
in those browsers
<
meh`>
and I don't remember it being the case
<
meh`>
but I can click on things from the runner
<
meh`>
keeping only the failed active doesn't work with async examples
<
adambeynon>
meh`: the async runner needs rethinking
<
adambeynon>
too difficult to hook into rspecs runner/formatter
GitHub120 has joined #opal
GitHub120 has left #opal [#opal]
<
GitHub120>
opal-browser/master b55be31 meh: spec: remove allowed failures
<
GitHub120>
opal-browser/master 7d35222 meh: dom/event: fix #target
<
meh`>
now if only browserstack responded to me
<
meh`>
we wouldn't have timeouts anymore
<
meh`>
but I guess it's Sunday
<
adambeynon>
meh`: what is the chrome driver issue?
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#96 (master - 7d35222 : meh): The build is still failing.
travis-ci has left #opal [#opal]
<
meh`>
the irony of working on IE8 and failing in IE9
GitHub96 has joined #opal
<
GitHub96>
opal-browser/master 5150f5a meh: spec: allow some failures
GitHub96 has left #opal [#opal]
GitHub158 has joined #opal
GitHub158 has left #opal [#opal]
<
GitHub158>
opal-browser/master e8dbf13 meh: dom/event/message: fix #data and #source instanceof checks
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#98 (master - e8dbf13 : meh): The build passed.
travis-ci has left #opal [#opal]
elia has joined #opal
_elia has joined #opal
elia has quit [Ping timeout: 252 seconds]
_elia has quit [Client Quit]
<
meh`>
adambeynon, is it normal there's no backtrace in the reports?