00:20
antonishen has quit [Ping timeout: 245 seconds]
00:22
antonishen has joined #opal
00:44
ryanstout has quit [Quit: ryanstout]
01:00
fkchang` has joined #opal
01:02
fkchang has quit [Ping timeout: 240 seconds]
01:05
ryanstout has joined #opal
01:11
<
ryanstout >
meh`: you around?
01:29
Liothen- has joined #opal
01:30
Liothen has quit [Ping timeout: 240 seconds]
01:44
fkchang` has quit [Ping timeout: 255 seconds]
01:45
<
meh` >
ryanstout, yes
01:46
<
meh` >
ryanstout, what's up?
01:46
<
ryanstout >
question about promises if you have a second
01:46
<
ryanstout >
is there a reason you have to pass an argument to resolve and reject?
01:47
<
meh` >
ryanstout, sure
01:47
<
meh` >
ha! good question
01:47
<
ryanstout >
it would be really nice if you could pass 0..inf
01:47
<
meh` >
I think it may default to nil
01:47
<
ryanstout >
(it looks really good though, so its not me complaining)
01:47
<
meh` >
let me fix that
01:47
<
meh` >
0..inf would be hard
01:48
<
meh` >
because how do you apply the next promise?
01:48
<
meh` >
pass an array if it's more?
01:48
<
meh` >
I could act like Enumerable does
01:48
<
meh` >
it does make sense
01:48
<
meh` >
I'll go for a smoke and think about it
01:49
<
ryanstout >
thanks a bunch
01:49
<
ryanstout >
I guess the more important thing for me is not requiring passing an arg
01:53
<
meh` >
yeah, it can be done, we have the technology (cit)
01:53
<
meh` >
I'll do it after this dungeon run
02:02
<
ryanstout >
thanks a bunch
02:15
e_dub has joined #opal
02:48
Steve445 has joined #opal
03:14
ryanstout has quit [Quit: ryanstout]
03:25
Steve445 has quit [Quit: Steve445]
04:21
ryanstout has joined #opal
04:22
ryanstout has quit [Client Quit]
04:34
skofo has quit [Ping timeout: 255 seconds]
04:47
Liothen- is now known as Liothen
04:47
Liothen has quit [Changing host]
04:47
Liothen has joined #opal
07:37
dimaursu16 has joined #opal
07:54
dimaursu16 has quit [Ping timeout: 264 seconds]
08:38
dimaursu16 has joined #opal
09:19
elia has joined #opal
09:28
dimaursu16 has quit [Ping timeout: 240 seconds]
09:32
kludge` has quit [Ping timeout: 264 seconds]
09:32
elia has quit [Quit: Computer has gone to sleep.]
09:36
kludge` has joined #opal
09:44
dimaursu16 has joined #opal
09:58
dimaursu16 has quit [Read error: Operation timed out]
10:39
tils has joined #opal
10:44
dimaursu16 has joined #opal
10:50
elia has joined #opal
10:51
elia has quit [Client Quit]
11:05
meh` has quit [Ping timeout: 255 seconds]
11:10
dimaursu16 has quit [Ping timeout: 240 seconds]
11:30
elia has joined #opal
12:30
DouweM has quit [Quit: Leaving...]
12:38
DouweM has joined #opal
13:22
<
e_dub >
how does `#@native.method()` work? when I try, I get Cannot call blah of undefined
13:40
<
adambeynon >
hi e_dub
13:41
<
adambeynon >
what object is @native ?
13:41
<
adambeynon >
have you got a gist of your code ?
13:43
<
adambeynon >
ok, and what object are you passing into it?
13:43
<
adambeynon >
the native object
13:43
<
e_dub >
ah, where do i pass something into it at? this is where i am messing up i think
13:44
elia has quit [Quit: Computer has gone to sleep.]
13:50
<
e_dub >
I'm trying to write a wrapper class for the global atom object for the atom editor, just haven't quite figured out how Native works
13:57
elia has joined #opal
14:02
<
e_dub >
adambeynon have to head into office now. hopefully I can catch you again in a little while
14:02
e_dub has quit [Quit: It's a hard knock life]
14:40
RoxasShadowRS has joined #opal
14:41
elia has quit [Ping timeout: 240 seconds]
14:45
elia has joined #opal
14:50
DrShoggoth has joined #opal
14:56
dimaursu16 has joined #opal
15:02
dimaursu16 has quit [Ping timeout: 240 seconds]
15:39
DouweM_ has joined #opal
15:40
DouweM has quit [Ping timeout: 240 seconds]
15:45
DouweM_ has quit [Ping timeout: 252 seconds]
15:52
e_dub has joined #opal
15:54
<
e_dub >
ok adambeynon sorry to bail earlier. so, could you tell me how to use that when you get a chance?
16:00
ryanstout has joined #opal
16:06
skofo has joined #opal
16:09
skofo has quit [Client Quit]
17:21
DrShoggoth has quit [Quit: Leaving]
17:29
<
elia >
e_dub, try setting @native inside #initialize
17:29
<
elia >
def initialize; @native = `atom`; end
17:29
<
e_dub >
ah ok awesome.
17:34
elia has quit [Read error: Operation timed out]
17:38
<
adambeynon >
hi e_dub, sorry I missed the notification
17:39
<
adambeynon >
as elia says, the object you pass into new/initialize gets set as the @native
17:40
<
e_dub >
passed into new/initialize on my class or on Native?
17:41
grios has joined #opal
17:45
<
grios >
Hi guys I'm a bit lost here. I'm trying to write tests to my opal-rails code that interacts with some DOM, is there any reference code where I can look on how to approach this?
18:03
Kilo`byte has quit [Max SendQ exceeded]
18:04
Kilo`byte has joined #opal
18:07
fntzr has joined #opal
18:15
grios_ has joined #opal
18:15
grios has quit [Ping timeout: 240 seconds]
18:15
grios_ is now known as grios
18:17
meh` has joined #opal
18:22
GitHub173 has joined #opal
18:22
<
GitHub173 >
[opalrb.org] marten opened pull request #7: Add barebones Rails documentation (master...patch-1)
http://git.io/NHy3pw
18:22
GitHub173 has left #opal [#opal]
18:42
<
meh` >
ryanstout, ping
18:42
<
ryanstout >
meh`: hey
18:42
<
meh` >
ryanstout, adding 0..inf arity is going to make the code a lot more complex
18:42
<
meh` >
I'm going for 0..1
18:42
<
ryanstout >
ok, thats cool
18:42
<
ryanstout >
just curious why the complexity?
18:43
<
meh` >
because the resolve/reject parameter can be a promise as well
18:43
<
meh` >
and it makes the checks and the delay stuff more complex
18:43
<
ryanstout >
interesting, what does that do if you pass another promise?
18:43
<
meh` >
or I haven't figured a good way to deal with it
18:43
<
meh` >
if you pass another promise the promise you're rejecting/resolving is rejected/resolved with the result of the given promise
18:44
<
ryanstout >
thats cool
18:44
<
adambeynon >
meh`: is that an additon to the Promises/A+ spec, or a custom addition?
18:44
<
ryanstout >
I was going to ask the same question
18:44
<
meh` >
adambeynon, it's in the spec
18:45
<
meh` >
it's what makes returning a promise from the #then body work
18:51
elia has joined #opal
18:53
<
adambeynon >
ok - although I use it a lot, I still havent read through your impl yet
18:59
elia has quit [Quit: Computer has gone to sleep.]
19:06
fntzr has quit [Quit: Leaving]
19:09
fkchang has joined #opal
19:19
dimaursu16 has joined #opal
19:33
Steve445 has joined #opal
19:35
[o__o] has left #opal [#opal]
19:38
[o__o] has joined #opal
19:41
[o__o] has left #opal [#opal]
19:43
Steve445 has quit [Quit: Steve445]
19:44
[o__o] has joined #opal
19:47
[o__o] has left #opal [#opal]
19:50
[o__o] has joined #opal
19:51
GitHub29 has joined #opal
19:51
<
GitHub29 >
opal/master 8ae7056 meh: Allow parameter less promise realization
19:51
GitHub29 has left #opal [#opal]
20:00
travis-ci has joined #opal
20:00
<
travis-ci >
[travis-ci] opal/opal#1754 (master - 8ae7056 : meh): The build passed.
20:00
travis-ci has left #opal [#opal]
20:11
pebble` has joined #opal
20:23
pebble` has quit [Remote host closed the connection]
20:23
pebble` has joined #opal
20:52
dimaursu16 has quit [Ping timeout: 240 seconds]
20:56
meh` has quit [Ping timeout: 240 seconds]
21:06
tils has quit [Read error: Operation timed out]
21:36
grios has quit [Ping timeout: 240 seconds]
21:42
grios has joined #opal
22:18
RoxasShadow has joined #opal
22:20
RoxasShadowRS has quit [Ping timeout: 240 seconds]
22:31
elia has joined #opal
22:32
fkchang has quit [Ping timeout: 252 seconds]
22:36
<
elia >
grios, try looking at opal-jquery specs, they rely on per-example DOM that get thrown away at the end of the example
22:36
<
grios >
thanks elia
22:38
e_dub has quit [Quit: ZZZzzz…]
22:43
e_dub has joined #opal
22:44
GitHub164 has joined #opal
22:44
<
GitHub164 >
[opalrb.org] elia closed pull request #7: Add barebones Rails documentation (master...patch-1)
http://git.io/NHy3pw
22:44
GitHub164 has left #opal [#opal]
22:44
GitHub167 has joined #opal
22:44
<
GitHub167 >
opalrb.org/master 6ddd5d8 Elia Schito: Merge pull request #7 from marten/patch-1...
22:44
GitHub167 has left #opal [#opal]
22:44
<
GitHub167 >
opalrb.org/master 763b903 Marten Veldthuis: Add barebones Rails documentation...
22:45
<
elia >
adambeynon, updating opalrb with rails page
22:47
GitHub63 has joined #opal
22:47
GitHub63 has left #opal [#opal]
22:47
<
GitHub63 >
opalrb.org/gh-pages 85c0383 Elia Schito: Site updated to 6ddd5d8
23:02
meh` has joined #opal
23:29
ryanstout has quit [Quit: ryanstout]
23:39
<
grios >
elia, i'm a bit confused here. by what I understood the "html <<-HTML" is the dom that will be used by my test, right? But when I add this to the code my test case just stop being detect
23:40
<
elia >
grios, probably the missing bit is the #html method in the spec_helper
23:42
<
grios >
tahnks again
23:42
pebble`_ has joined #opal
23:42
<
elia >
grios, going to sleep, good luck!
23:43
<
elia >
meh`, just one thing before shutting down, I need help in naming atom-textmate (I saw the wonderful work picking cesso for elixir csv…)
23:44
pebble` has quit [*.net *.split]
23:44
<
elia >
ok, leaving, now, meh` let me know if you come up with something (emal/twitter/whatever)
23:44
elia has quit [Quit: Computer has gone to sleep.]
23:46
e_dub has quit [Quit: It's a hard knock life]
23:46
lacrosse_ has quit [Ping timeout: 245 seconds]
23:50
pebble`_ has quit [Changing host]
23:50
pebble`_ has joined #opal
23:50
pebble`_ is now known as pebble`
23:50
lacrosse_ has joined #opal