00:09
<
meh` >
fkchang, anyway, how was the reaction to lissio? anyone pointed out any warts I haven't found?
00:12
<
fkchang >
meh`: I'd say it went well, I think they were impressed w/how much I could accomplish in 45 min, and how little and clean the code was
00:13
<
fkchang >
I wished it was videoed, so I could use it a screen cast. U could tell me what I'm doing wrong
00:14
<
fkchang >
I wanted to basically make the screen cast, but didn't realize it'd take about a hour to do all the stuff I did
00:15
elia has joined #opal
00:16
DrShoggoth has quit [Quit: Leaving]
00:21
GitHub77 has joined #opal
00:21
GitHub77 has left #opal [#opal]
00:21
<
GitHub77 >
opal/master 9e09029 meh: Remove Native::Object#to_ary...
00:24
travis-ci has joined #opal
00:24
<
travis-ci >
[travis-ci] opal/opal#1726 (master - 9e09029 : meh): The build passed.
00:24
travis-ci has left #opal [#opal]
00:24
<
meh` >
adambeynon, enjoying the faster travis response? :D
00:25
<
meh` >
less than 3 minutes
00:28
travis-ci has joined #opal
00:28
<
travis-ci >
[travis-ci] opal/opal#1726 (master - 9e09029 : meh): The build passed.
00:28
travis-ci has left #opal [#opal]
00:29
<
fkchang >
meh`: what does it take to load a normal ruby gem? I remember you discussing it
00:29
<
meh` >
fkchang, mostly luck :)
00:30
<
fkchang >
you can't just require it, right, you have to do some load path and hope the order is ok?
00:30
<
meh` >
fkchang, typically
00:30
<
meh` >
Opal.use_gem 'name'
00:30
<
meh` >
if it's a gem you're writing
00:30
<
fkchang >
It's cucumber actually. I figure if adambeynon can get rspec working on opal, cucumber should work
00:31
<
fkchang >
I need to remember to use paggio on the server side
00:34
<
fkchang >
adambeynon: decided to finally update gems, Bundler could not find compatible versions for gem "opal":
00:34
<
fkchang >
In Gemfile:
00:34
<
fkchang >
opal (~> 0.5.0) ruby
00:34
<
fkchang >
opal-sprockets (>= 0) ruby depends on
00:34
<
fkchang >
opal (0.6.0)
00:35
<
fkchang >
but my gemfile has all git
00:35
<
fkchang >
gem 'opal', :git => "git://github.com/opal/opal.git"
00:35
<
fkchang >
gem 'opal-sprockets', :git => "git://github.com/opal/opal-sprockets.git"
00:35
<
fkchang >
gem 'opal-jquery', :git => "git://github.com/opal/opal-jquery.git"
00:35
<
fkchang >
gem 'opal-browser', :git => "git://github.com/opal/opal-browser.git"
00:35
<
fkchang >
gem 'opal-rspec'
00:35
<
meh` >
fkchang, remove opal-sprockets
00:35
<
meh` >
it's been merged into opal
00:35
<
meh` >
it will assplode everything
00:55
GitHub119 has joined #opal
00:55
GitHub119 has left #opal [#opal]
00:55
<
GitHub119 >
opal-browser/master afd43f6 meh: dom/node_set: cleanup code and logic
00:57
oldfartdeveloper has joined #opal
01:03
<
meh` >
obviously IE6 had to be a dick
01:05
<
oldfartdeveloper >
Greetings, everyone. I'm working w/ fkchang to get Cucumber running under Opal; exciting stuff!
01:06
travis-ci has joined #opal
01:06
<
travis-ci >
[travis-ci] opal/opal-browser#136 (master - afd43f6 : meh): The build was broken.
01:06
travis-ci has left #opal [#opal]
01:10
<
oldfartdeveloper >
meh`, thanks
01:11
<
meh` >
I hope you're ready to handle the rage of a thousand suns having to deal with IE6
01:18
<
fkchang >
meh`: can I add a $document.ready to a lissio app? If so, where, putting it at the bottom of app.rb doesn't work
01:18
<
meh` >
fkchang, you should actually overlode the #start method in the application
01:20
<
fkchang >
do I need to call super?
01:20
<
meh` >
before after is kind of irrelevant
01:21
<
meh` >
you can also add a $document.ready if you want
01:21
<
meh` >
but it looks kind of dirty to me in this case
01:21
<
meh` >
also, you can add it whenever you want
01:21
<
meh` >
if the document is already ready it will just call the block
01:24
<
fkchang >
when I added it at the end I got some error, node can't be instantiated
01:25
<
fkchang >
Uncaught ArgumentError: cannot instantiate a non derived Node object
01:25
<
meh` >
oldfartdeveloper, in theory you can just do s.use_gem 'cucumber' in the Opal::Server config
01:25
<
meh` >
fkchang, that sounds weird
01:25
<
oldfartdeveloper >
Thanks, I'll try that
01:26
<
fkchang >
meh`: I'll use #start, I'm trying to hook opal irb into my lissio app
01:47
<
fkchang >
meh`: I can't require 'opal-jquery' (coz I use jquery plugins in opal-irb) in my lissio app, I get
01:47
<
fkchang >
Uncaught TypeError: Cannot set property '_p' of undefined app.js:21573
01:47
<
fkchang >
$opal.defs.TMP_1 app.js:21573
01:47
<
fkchang >
Opal.klass app.js:166
01:47
<
fkchang >
$b app.js:34012
01:47
<
fkchang >
(anonymous function) app.js:34071
01:47
<
fkchang >
(anonymous function)
01:48
<
meh` >
fkchang, looks like it's trying to call a method that doesn't exist, passing a block
01:52
<
fkchang >
it's this line
01:52
<
fkchang >
return ($a = ($b = $gvars["document"]).$ready, $a._p = (TMP_2 = function(){var self = TMP_2._s || this;
01:57
<
fkchang >
like does opal-jquery's Docment.ready? conflict/override w/$document.ready
01:59
<
meh` >
it shouldn't
01:59
elia has quit [Quit: Computer has gone to sleep.]
01:59
<
meh` >
unless opal-jquery is overriding the $document gvar
02:01
<
meh` >
oldfartdeveloper, just a sec that if I stop being active on browserstack it kills everything
02:04
<
fkchang >
adambeynon: trying to update opal-irb to opal-rspec and I get the below error
02:04
<
fkchang >
Forrests-MacBook-Pro:opal-irb fkchang$ bundle exec rake
02:04
<
fkchang >
Error: Sprockets::FileNotFound: couldn't find file 'opal/rspec/rspec'
02:04
<
fkchang >
(in /Users/fkchang/.rvm/gems/ruby-2.0.0-p247/bundler/gems/opal-rspec-edb975ba0980/opal/opal/rspec.rb)
02:04
<
meh` >
fkchang, are you using the opal-rspec gem?
02:04
<
meh` >
you have to, sadly
02:04
<
fkchang >
My setup is the same as one I that runs on 0.5.0
02:04
<
fkchang >
meh`: trying to
02:04
<
meh` >
gem 'opal-rspec', '0.3.0.beta3'
02:04
<
meh` >
still same error?
02:04
<
fkchang >
let's see
02:05
<
meh` >
you need the beta
02:06
<
fkchang >
meh`: that did it, thx. I had it at head, since all my other gems are head
02:06
<
meh` >
fkchang, yeah, it's a problem with rspec, but it's not easily solved
02:06
<
meh` >
I mean, with opal-rspec
02:10
<
oldfartdeveloper >
meh`: if you see something obvious in my gist, please comment on it or here. I'll be back on in a half hour. Thanks for your help.
02:14
<
meh` >
oldfartdeveloper, you have to require cucumber as well
02:14
<
meh` >
oldfartdeveloper, the #use_gem calls just tells it to add the paths from the gem
02:14
<
meh` >
but keep in mind, if Cucumber is going to read files, that ain't gonna work
02:14
<
meh` >
we're in javascript land after all
02:17
fkchang has quit [Read error: Operation timed out]
02:25
RoxasShadowRS has quit [Read error: Connection reset by peer]
02:52
dleedev has quit [Quit: dleedev]
03:04
<
oldfartdeveloper >
meh`: Understood on files. Thanks for the require suggestion as well.
03:08
GitHub51 has joined #opal
03:08
GitHub51 has left #opal [#opal]
03:08
<
GitHub51 >
opal-browser/master 94492ff meh: dom/element: fix #css on IE6-7
03:13
<
oldfartdeveloper >
meh`: you're correct; the require fixed it.
03:20
travis-ci has joined #opal
03:20
travis-ci has left #opal [#opal]
03:20
<
travis-ci >
[travis-ci] opal/opal-browser#137 (master - 94492ff : meh): The build was fixed.
03:39
<
oldfartdeveloper >
It seems like yaml.rb is missing out of the opal stdlib. Is there anywhere else I can require it?
03:40
<
meh` >
oldfartdeveloper, nope, we don't have it
03:40
<
meh` >
yaml.rb in the stdlib is written in C
03:40
<
oldfartdeveloper >
hmm. So that needs to be ported over?
03:41
<
oldfartdeveloper >
I'll take a look, thanks
03:59
e_dub has joined #opal
04:09
Noldorin has quit []
04:37
meh` has quit [Ping timeout: 272 seconds]
05:11
femto has joined #opal
05:37
ryanstout has quit [Quit: ryanstout]
05:44
femto has quit [Ping timeout: 252 seconds]
05:48
femto has joined #opal
05:56
e_dub has quit [Quit: e_dub]
06:13
e_dub has joined #opal
06:22
femto has quit [Ping timeout: 240 seconds]
06:26
femto has joined #opal
06:45
skofo has joined #opal
06:54
skofo has quit [Quit: Leaving]
07:02
femto has quit [Ping timeout: 272 seconds]
07:05
femto has joined #opal
08:00
<
adambeynon >
oldfartdeveloper: I have a yaml.rb polyfill which sits on top of a pure javascript implementation
08:00
<
adambeynon >
might be useful here
08:00
<
adambeynon >
I'll have a look to see If I have it on this machine
08:17
dleedev has joined #opal
08:19
e_dub has quit [Quit: e_dub]
08:20
e_dub has joined #opal
08:58
bongo_hide has joined #opal
08:59
bongo_hide has quit [Remote host closed the connection]
10:11
dleedev has quit [Quit: dleedev]
10:21
e_dub has quit [Quit: e_dub]
10:29
e_dub has joined #opal
10:30
RoxasShadowRS has joined #opal
10:49
kludge` has quit [Ping timeout: 252 seconds]
10:56
kludge` has joined #opal
11:26
e_dub has quit [Quit: e_dub]
13:52
Noldorin has joined #opal
13:52
DouweM has joined #opal
14:06
[o__o] has left #opal [#opal]
14:08
[o__o] has joined #opal
14:30
[o__o] has left #opal [#opal]
14:33
[o__o] has joined #opal
15:43
DouweM has quit [Ping timeout: 260 seconds]
15:55
elia has joined #opal
16:18
meh` has joined #opal
16:56
elia has quit [Quit: Computer has gone to sleep.]
17:13
elia has joined #opal
17:19
GitHub116 has joined #opal
17:19
<
GitHub116 >
opal-browser/master 93985d6 meh: dom/node_set: improve #to_a and #to_ary
17:19
GitHub116 has left #opal [#opal]
17:19
<
GitHub116 >
opal-browser/master cdd3431 meh: README: use new #ready method
17:19
DouweM has joined #opal
17:28
dleedev has joined #opal
17:30
ryanstout has joined #opal
17:30
travis-ci has joined #opal
17:30
travis-ci has left #opal [#opal]
17:30
<
travis-ci >
[travis-ci] opal/opal-browser#138 (master - 93985d6 : meh): The build was broken.
17:32
dimaursu16 has joined #opal
17:44
travis-ci has joined #opal
17:44
<
travis-ci >
[travis-ci] opal/opal-browser#138 (master - 93985d6 : meh): The build passed.
17:44
travis-ci has left #opal [#opal]
17:58
<
meh` >
ryanstout, I have no clue, but I verified it's a parser bug
17:58
<
ryanstout >
meh`: ok, thanks. Wanted to make sure it wasn't just me.
17:58
<
meh` >
tried to get a reduced testcase
17:58
<
meh` >
but couldn't get shorter than that
17:58
<
ryanstout >
yea, weird eh
18:43
<
meh` >
adambeynon, ping
18:50
GitHub39 has joined #opal
18:50
GitHub39 has left #opal [#opal]
18:50
<
GitHub39 >
lissio/master 9f90b96 meh: lissio: add a builder
18:52
Noldorin has quit []
19:09
elia has quit [Quit: Computer has gone to sleep.]
19:19
DavidEGrayson has joined #opal
19:30
Noldorin has joined #opal
19:40
GitHub57 has joined #opal
19:40
<
GitHub57 >
opal-browser/master 117e654 meh: window: improve message sending support
19:40
GitHub57 has left #opal [#opal]
19:51
travis-ci has joined #opal
19:51
<
travis-ci >
[travis-ci] opal/opal-browser#139 (master - 117e654 : meh): The build passed.
19:51
travis-ci has left #opal [#opal]
20:27
ryanstout has quit [Ping timeout: 272 seconds]
20:28
ryanstout has joined #opal
20:32
<
adambeynon >
meh`: hiya
20:32
<
meh` >
adambeynon, disregard that, solved it
20:50
<
adambeynon >
ryanstewart: what is the odd behaviour you are getting with those hashes?
20:50
e_dub has joined #opal
20:51
<
adambeynon >
ryanstout: ^^^^^^
21:02
<
ryanstout >
let me check again, one sec
21:03
<
ryanstout >
so its really weird
21:03
<
ryanstout >
when I have it in there, it causes a different part of my code to throw an error
21:04
<
ryanstout >
let me find the code thats getting generated
21:04
<
adambeynon >
ryanstout: a compiler error, or a runtime error?
21:04
<
ryanstout >
runtime
21:04
<
ryanstout >
actually, maybe not
21:04
<
ryanstout >
sorry, it is compile
21:04
<
ryanstout >
RuntimeError: parse error on value "," (tCOMMA) :(file):2
21:05
<
ryanstout >
the runtime error was that one file not compiling
21:07
<
adambeynon >
looks like a lexer bug
21:08
<
adambeynon >
the lexer cant cope without spaces around the " => "
21:08
<
adambeynon >
try adding a space either side of all the hash-rockets
21:08
<
adambeynon >
(verified on the website/try)
21:08
<
ryanstout >
RuntimeError: parse error on value "}" (tRCURLY) :(file):2
21:09
<
ryanstout >
does it need a space between the second hash?
21:09
<
ryanstout >
and the end
21:09
<
ryanstout >
actually, forgot one
21:09
<
ryanstout >
yea, that was it
21:11
<
adambeynon >
ryanstout: trying to fix the bug now
21:11
<
ryanstout >
adambeynon: thanks
21:27
DavidEGrayson1 has joined #opal
21:28
DavidEGrayson1 has quit [Client Quit]
21:28
DavidEGrayson1 has joined #opal
21:29
DavidEGrayson has quit [Ping timeout: 245 seconds]
21:46
DavidEGrayson1 has quit [Quit: Leaving.]
21:46
DavidEGrayson has joined #opal
22:23
e_dub has quit [Quit: e_dub]
23:46
dimaursu16 has quit [Ping timeout: 245 seconds]