meh` has quit [Quit: I don't want to live on this planet anymore.]
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
chrstphrhrt has joined #opal
_whitelogger_ has joined #opal
chrstphrhrt has quit [Quit: chrstphrhrt]
e_dub has quit [Ping timeout: 246 seconds]
e_dub has joined #opal
adambeynon has joined #opal
elia has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
kludge` has quit [Ping timeout: 245 seconds]
GitHub61 has joined #opal
<GitHub61> opal/master d7a39ef Adam Beynon: Fix buggy parsing of ternary statements
GitHub61 has left #opal [#opal]
<GitHub61> [opal] adambeynon pushed 1 new commit to master: http://git.io/zyP15g
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11725103
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1002 (master - d7a39ef : Adam Beynon): The build passed.
kludge` has joined #opal
GitHub173 has joined #opal
GitHub173 has left #opal [#opal]
<GitHub173> opal/master 871fdda Adam Beynon: Quick fix for Enumerable#collect
<GitHub173> [opal] adambeynon pushed 1 new commit to master: http://git.io/LRuEDw
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1003 (master - 871fdda : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11728227
meh` has joined #opal
<meh`> adambeynon, yo
<adambeynon> morning!
<adambeynon> or afternoon..
<meh`> lol
<meh`> any news?
<meh`> could you give some priority to #378 and #377 please?
<adambeynon> sure thing
<meh`> that generated code looks like it can be improved a lot
<meh`> there's no need to wrap it in a function
<adambeynon> yep. working on that one now
<adambeynon> a lot of these problems come from trying to have the same sexp format as ruby_parser
<adambeynon> which I really dont like
<adambeynon> not very consistent
GitHub39 has joined #opal
<GitHub39> [opal] adambeynon pushed 1 new commit to master: http://git.io/qoanAg
<GitHub39> opal/master 9947f12 Adam Beynon: Fix double-return for begin/ensure/end blocks (#378)
GitHub39 has left #opal [#opal]
<adambeynon> meh`: see #378
<adambeynon> back in 10 mins
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1004 (master - 9947f12 : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11729442
travis-ci has left #opal [#opal]
chrstphrhrt has joined #opal
_whitelogger_ has joined #opal
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger__ has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
harrow has quit [*.net *.split]
harrow has joined #opal
e_dub has joined #opal
_whitelogger__ has quit [Remote host closed the connection]
_whitelogger___ has joined #opal
elia has quit [Ping timeout: 264 seconds]
elia has joined #opal
adambeynon has joined #opal
<meh`> adambeynon, does JSON.parse return Hash and Array?
<adambeynon> meh`: yeap
<meh`> ok, good
elia has quit [Ping timeout: 240 seconds]
elia has joined #opal
fkchang has joined #opal
<fkchang> adambeynon: did u see my tweet yesterday?
<adambeynon> hi fkchang
<adambeynon> dont think so
<adambeynon> looking..
<adambeynon> not seeing the lambda? thats a strange one
<adambeynon> is the git repo working? (as in, can I clone it to try..?)
<fkchang> let me push up the changes that make it work w/head, and then try
<fkchang> btw, code in the ||, and the generated js
<fkchang> |l = lambda {|f| f+1}| app-embeddable.js:25975
<fkchang> /* Generated by Opal 0.4.4 */
<fkchang> (function($opal) {
<fkchang> var TMP_1, $a, self = $opal.top, $scope = $opal, nil = $opal.nil, $breaker = $opal.breaker, $slice = $opal.slice;
<fkchang>
<fkchang> $opal.add_stubs(['$+', '$lambda']);
<fkchang> if (!$opal.irb_vars) { $opal.irb_vars = {}; }
<fkchang> return $opal.irb_vars.l = (($a = $opal.irb_vars.lambda) == null ? self.$lambda() : $a)
<fkchang> })(Opal);
<fkchang> adambeynon: ok, pushed up changes, rake build will make the embeddable version and bring it up in chrome
<adambeynon> fkchang: ok, will try it out
<GitHub88> opal/master a847aed Adam Beynon: Fix bug in generating methods in irb mode
<adambeynon> fkchang: for the lambda bug, that push should fix it
<fkchang> while you have the clone, rake spec gets an error wrt jquery loading
<GitHub88> [opal] adambeynon pushed 1 new commit to master: http://git.io/BZBVRQ
GitHub88 has left #opal [#opal]
GitHub88 has joined #opal
<adambeynon> I will check out the spec bug now
<adambeynon> fkchang: have you had the specs running before?
elia has quit [Ping timeout: 256 seconds]
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1005 (master - a847aed : Adam Beynon): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11737461
travis-ci has left #opal [#opal]
<fkchang> adambeynon: I had it running before probably head some time around 0.4.2-3 ish
elia has joined #opal
<fkchang> adambeynon: looks like the block fix worked, my lambda example worked and I can use opal-browser's dom builder from opal-irb now. Thx
<meh`> fkchang, cool :D
<fkchang> meh`: is there a way to print out all the whole element as text?
<fkchang> ie. I make a nested dom and I just want to preview the html
<meh`> fkchang, what do you mean?
<meh`> fkchang, there's no way currently
<meh`> but it shouldn't be hard to implement a DOM inspector
<meh`> but I don't think that belongs to opal-browser
<meh`> if you do it in opal-inspector, it would be even better, because you can use it on all kinds of DOM elments
<adambeynon> eek, I've got to run sorry. fkchang, I will ping you later if you are still having `rake spec` problems.
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
<fkchang> meh`: the context at the moment is that I'm messing w/the dom builder in opal-irb and then I want to see the html to see that I've made the right thing. For that I could just monkey patch in a to_s that understands the parent child hierarchy. The idea of a DOM inspect in opal-inspector is cool. I'll look at that. I'm probably going to try to replace my erb implemented views in opal-inspect w/the dom builder
adambeynon has joined #opal
elia has quit [Ping timeout: 260 seconds]
elia has joined #opal
<adambeynon> fkchang: so, jquery + spec issues
elia has quit [Client Quit]
<fkchang> adambeynon: Forrests-MacBook-Pro:opal-irb fkchang$ rake
<fkchang> Error: jQuery must be included before opal-jquery
<fkchang>
<fkchang> Specs timed out
e_dub has quit [Ping timeout: 240 seconds]
<fkchang> a missing require or something?
<adambeynon> ah, opal-jquery doesnt actually include jquery itself - you have to add that manually
GitHub77 has joined #opal
<GitHub77> [opal] adambeynon pushed 1 new commit to master: http://git.io/evCUVA
GitHub77 has left #opal [#opal]
<GitHub77> opal/master 076c7af Adam Beynon: [Parser] method defs are responsible for returning nil
<fkchang> adambeynon: i.e. require 'jquery' in the Rakefile
e_dub has joined #opal
<adambeynon> fkchang: no, in your opal code somewhere
<adambeynon> I usually put it in spec_helper.rb
<adambeynon> and then have whatever version of jquery.js located in spec/jquery.js
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11741826
<travis-ci> [travis-ci] opal/opal#1006 (master - 076c7af : Adam Beynon): The build passed.
travis-ci has left #opal [#opal]
<meh`> adambeynon, any update on the super fix?
<meh`> the parser one
elia has joined #opal
adambeynon has quit [Ping timeout: 256 seconds]
_whitelogger___ has joined #opal
elia has quit [Ping timeout: 252 seconds]
GitHub61 has joined #opal
<GitHub61> [opal] meh pushed 1 new commit to master: http://git.io/nAxk3Q
GitHub61 has left #opal [#opal]
<GitHub61> opal/master 659dc8b meh: Make Proc#call destructure arguments
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1007 (master - 659dc8b : meh): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11745599
<fkchang> meh`: I like the dom builder
<fkchang> meh`: how do I add css from css builder to the dom?
<fkchang> create a style element and set the inner_html to the css.to_s?
<meh`> fkchang, the CSS builder returns a style element already
<meh`> if you use the helper
<meh`> CSS { color :red }
<meh`> that will return a <style> object
<meh`> you can ust CSS { color :red }.append_to $document.head
<meh`> and it will be applied
chrstphrhrt has quit [Quit: chrstphrhrt]
e_dub has quit [Ping timeout: 240 seconds]
chrstphrhrt has joined #opal
e_dub has joined #opal
<fkchang> meh`: nice, I didn't see the helper in the specs
<meh`> fkchang, yeah, sorry about that
<meh`> fkchang, I'm writing documentation about everything
<meh`> so you'll find everything on rubyinfo soon
<meh`> now I hit a pretty big bug in Opal
<meh`> that I don't know how to fix
<fkchang> I want to come up with a try ruby style interactive tutorial that I can run from inside opal-irb and inspector, then I could document the stuff I'm learning about opal-browser that way, and people can run and tweak in real time
GitHub8 has joined #opal
<GitHub8> [opal] meh pushed 1 new commit to master: http://git.io/Inp7uw
GitHub8 has left #opal [#opal]
<GitHub8> opal/master da95ec6 meh: Fix lambda status of blocks
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1008 (master - da95ec6 : meh): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/11754174
chrstphrhrt has quit [Quit: chrstphrhrt]
chrstphrhrt has joined #opal
meh` has quit [*.net *.split]
e_dub has quit [*.net *.split]
adrocknaphobia has quit [*.net *.split]
brixen has quit [*.net *.split]
e_dub has joined #opal
brixen has joined #opal
adrocknaphobia has joined #opal