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/
elia has quit [Quit: Computer has gone to sleep.]
DrShoggoth has quit [Quit: Leaving]
e_dub has joined #opal
ryanstewart2 has joined #opal
ryanstewart has quit [Ping timeout: 252 seconds]
<fkchang> meh`: Is there the equivalent of Opal::Environment for lissio, can I do something like https://github.com/opal/opal/blob/master/examples/sinatra/config.ru
<fkchang> the CORS stuff is killing me
<meh`> fkchang, there's no need, lissio is just opal code
<meh`> you can just use the environment
<meh`> and yeah, the CORS stuff is dreadful
<meh`> but everything web is
<fkchang> so that code should work, if I include the right gems
<meh`> took me a day to add proper CORS support to urna
<meh`> yes
meh` has quit [Ping timeout: 240 seconds]
rageofmeh has quit [Ping timeout: 245 seconds]
fkchang has quit [Ping timeout: 252 seconds]
ylluminate` has joined #opal
ylluminate has quit [Ping timeout: 272 seconds]
ylluminate` has quit [Ping timeout: 260 seconds]
fkchang has joined #opal
<ryanstout> is there any docs on using Native
marcandre has quit [Remote host closed the connection]
wmnnd has quit [Read error: Connection reset by peer]
wmnnd has joined #opal
ryanstout has quit [Quit: ryanstout]
[o__o] has left #opal [#opal]
[o__o] has joined #opal
[o__o] has left #opal [#opal]
[o__o] has joined #opal
[o__o] has left #opal [#opal]
[o__o] has joined #opal
[o__o] has left #opal [#opal]
wmnnd has quit [Ping timeout: 265 seconds]
[o__o] has joined #opal
[o__o] has left #opal [#opal]
[o__o] has joined #opal
wmnnd has joined #opal
e_dub has quit [Ping timeout: 272 seconds]
e_dub has joined #opal
e_dub has quit [Client Quit]
wmnnd has quit [Ping timeout: 252 seconds]
wmnnd has joined #opal
wmnnd has quit [Ping timeout: 260 seconds]
dfranciosi has joined #opal
wmnnd has joined #opal
<fkchang> adambeynon: where is DateTime defined?
<adambeynon> fkchang: it hasn't been implemented. It should go in date.rb
<fkchang> ok, thx, I saw all the specs for it, but couldn't find it
elia has joined #opal
<adambeynon> fkchang: I keep meaning to work on it for Vienna. If I get some time over the weekend I will take a look
DouweM has quit [Ping timeout: 240 seconds]
RoxasShadowRS has joined #opal
fkchang has quit [Ping timeout: 265 seconds]
DouweM has joined #opal
DouweM has quit [Ping timeout: 252 seconds]
kludge` has quit [Ping timeout: 252 seconds]
kludge` has joined #opal
RoxasShadowRS has quit [Ping timeout: 245 seconds]
GitHub97 has joined #opal
GitHub97 has left #opal [#opal]
<GitHub97> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/DeJC8w
<GitHub97> opal-rspec/master 0b0b270 Adam Beynon: Fix async specs to use shorter delay
DouweM has joined #opal
RoxasShadowRS has joined #opal
<adambeynon> meh`: the problem with async examples is that the runner isnt telling the formatter that an async group has started
<adambeynon> something inside rspec must have changed without me noticing
elia has quit [Quit: Computer has gone to sleep.]
wmnnd has quit [Ping timeout: 245 seconds]
elia has joined #opal
[o__o] has quit [Read error: Operation timed out]
[o__o] has joined #opal
DouweM has quit [Ping timeout: 264 seconds]
meh` has joined #opal
<meh`> adambeynon, pushed opal-rpsec yet?
fkchang has joined #opal
<fkchang> meh`: can a lissio model "has_many" another model? I'm going to send json w/the "has_many" data included, I'm guessing I just handle it in the parse() call, I guess the has_many might be "property :children, as: Array"?"
<meh`> fkchang, not supported yet, but I was thinking about it
<meh`> it would be as: [Model]
<meh`> you can do it manually for now
<meh`> you do as: Array
<meh`> and override the getter
<meh`> to return a Promise.when
<fkchang> meh`: Also any more thought on how you'll do reactive in lissio, I think I'm at the point where I want to make change to a component real time. Ideally I'd have some in the html() part that when it change it'd render to reflect it. In lieu of such, I could either "re render it", or just add code that does a DOM manipulation -- any recommendations?
<meh`> fkchang, for now I'd do a DOM manipulation
<meh`> remember you can refer to the rendered element with #element inside the model
<fkchang> pl. O
<fkchang> ok, I'll try it
<meh`> you can see in shekels internal DOM manipulation
<fkchang> thx, I'll look
<meh`> should be in the PaymentList
<fkchang> #remove()
dfranciosi has quit [Remote host closed the connection]
marcandre has joined #opal
<fkchang> meh`: if I want to dynamically add a component to another component, how do I do that?
<meh`> element << component.render
ryanstout has joined #opal
<meh`> adambeynon, for the love of trains, push that gem :((
<meh`> adambeynon, or find a way to use the git opal-rspec
dfranciosi has joined #opal
<ryanstout> is there a reason when you call a method with a block that doesn't exist on an object, you get the following: Uncaught TypeError: Cannot set property '_p' of undefined
GitHub65 has joined #opal
<GitHub65> [opal-rspec] adambeynon pushed 1 new commit to master: http://git.io/7D4k9g
<GitHub65> opal-rspec/master edb975b Adam Beynon: v0.3.0.beta3
GitHub65 has left #opal [#opal]
GitHub89 has joined #opal
<GitHub89> [opal-rspec] adambeynon tagged v0.3.0.beta3 at 95cfb04: http://git.io/arRUwQ
GitHub89 has left #opal [#opal]
<adambeynon> meh`: ^^^^
<adambeynon> ryanstout: what is the receiver?
<adambeynon> the core bridged classes might throw that error
<ryanstout> any object: "test".not_a_method { }
elia has quit [Ping timeout: 252 seconds]
<ryanstout> ok, humm
<adambeynon> ryanstout: method_missing doesnt (currently) work for them unfortunately
<adambeynon> strings, numerics, etc
<ryanstout> its not trying to do method missing
<ryanstout> I guess its just a confusing error
dfranciosi has quit [Remote host closed the connection]
<ryanstout> is there a way to put a check in the call to see if the method is there?
<ryanstout> ($a ? ($a._p = (...)) : throw "Method ... not found")
<ryanstout> or I guess that add's too much code?
<adambeynon> ryanstout: yeh, would add too much. for calls with blocks we could possibly take the hit of an extra step
<adambeynon> something like
<adambeynon> recv.$foo || $mm('foo')
<ryanstout> yea
<ryanstout> maybe a compiler flag?
<ryanstout> I know it would help a ton in dev mode to be able to easily see why thats failing
<ryanstout> I've run into that issue more than anything else
<adambeynon> ryanstout: yes, I hit it quite often as well
<adambeynon> I will look into it
<ryanstout> thanks a bunch
<adambeynon> see what works out fastest/cleanest
<ryanstout> yea, I can see why its tricky
<ryanstout> just curious, you guys didn't want to mess with the Object prototype?
<adambeynon> ryanstout: I tried it out of curiosity, but it broke jquery straight away
<ryanstout> interesting, I thought jquery worked with a mangled Object.prototype
<ryanstout> lame
<adambeynon> ryanstout: I did also look at running the code inside an iframe, so we could do whatever we wanted
<ryanstout> adambeynon: oh yea? thats an interesting approach
<ryanstout> seems like it would cause more issues than it solves though
elia has joined #opal
GitHub45 has joined #opal
<GitHub45> [opal-browser] meh pushed 16 new commits to master: http://git.io/oCW0Vw
GitHub45 has left #opal [#opal]
<GitHub45> opal-browser/master a76e4f8 meh: dom/mutation_observer: remove half-assed polyfill
<GitHub45> opal-browser/master 0a867df meh: immediate: fix call in setImmediate
<GitHub45> opal-browser/master 0a39580 meh: dom/element: rescue everything in #css and #xpath
<adambeynon> ryanstout: yeah, many. it didnt last too long :P
<ryanstout> adambeynon: Did you know that there used to be a way (still might be, though this was like 10 years ago) to grab objects from one iframe and use them in another.
<ryanstout> we used to extend Array in an iframe and then use it elsewhere. crazy times :-)
<adambeynon> ryanstout: I seem to remember that. I think I looked into that as a way to subclass Arrays - make an iframe per Array subclass and extend those independantly
<ryanstout> adambeynon: one other question since I'm curious. What's the reason for all of the TMP_ variables, I'm assuming thats an optimization?
<meh`> I think I broke travis
<adambeynon> ryanstout: mostly to refer to a method inside its body - arguments.callee is deprecated kinda, so yeah, just a quick reference to the current method
<adambeynon> self.$some_method <- that might not work if its been overriden
<ryanstout> ok
<adambeynon> meh`: keeping an eye on it ;)
<adambeynon> ryanstout: hoping to try out volt over the weekend as well
<ryanstout> cool. I'm getting close on the data store layer. Will give you meteor like collections that auto-update and push data around
<ryanstout> adambeynon: let me know on anything thats confusing. I don't have an intro tutorial yet, just the docs
<meh`> I wonder if they could bump the parallel session limit to 5
<meh`> two at a time will take ages
<meh`> I need Opera 12.16 apparently
<meh`> I wonder if I can have both in parallel
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal-browser#68 (master - e6154ce : meh): The build was broken.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal-browser/builds/17562953
travis-ci has left #opal [#opal]
<meh`> fff
<meh`> fucking Opera 12.16
GitHub114 has joined #opal
<GitHub114> [opal-browser] meh pushed 1 new commit to master: http://git.io/wkl9HA
GitHub114 has left #opal [#opal]
<GitHub114> opal-browser/master 195d066 meh: spec: improve the runner a bit
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal-browser#69 (master - 195d066 : meh): The build is still failing.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal-browser/builds/17564369
travis-ci has left #opal [#opal]
<meh`> nada
<meh`> too bad all tests pass here
elia has quit [Quit: Computer has gone to sleep.]
marcandre has quit [Remote host closed the connection]
GitHub17 has joined #opal
<GitHub17> [opal-browser] meh pushed 2 new commits to master: http://git.io/ORUk7w
<GitHub17> opal-browser/master 2f1f222 meh: window/view: fix typo
<GitHub17> opal-browser/master c11786c meh: spec: fix matrix order
GitHub17 has left #opal [#opal]
ryanstout has quit [Quit: ryanstout]
mneorr has quit []
GitHub14 has joined #opal
<GitHub14> [opal-browser] meh pushed 1 new commit to master: http://git.io/Zv-4ow
<GitHub14> opal-browser/master 9662c9b meh: spec: try to be more resilient to random timeouts
GitHub14 has left #opal [#opal]
ryanstout has joined #opal
kings has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal-browser#71 (master - 9662c9b : meh): The build is still failing.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal-browser/builds/17568490
travis-ci has left #opal [#opal]
kings has quit [Quit: Leaving...]
DrShoggoth has joined #opal
GitHub141 has joined #opal
<GitHub141> opal-browser/master 8d5d045 meh: spec: more runner solidification
<GitHub141> [opal-browser] meh pushed 1 new commit to master: http://git.io/RyjdXw
GitHub141 has left #opal [#opal]
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal-browser/builds/17569593
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal-browser#72 (master - 8d5d045 : meh): The build has errored.
meh` has quit [Ping timeout: 264 seconds]
elia has joined #opal
kings has joined #opal
<kings> hi
<kings> in my Document.ready? section can I use erb? any examples?
DrShoggoth has quit [Quit: Leaving]
kings has quit [Quit: Leaving...]
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal