seamon has quit [Quit: Zzzzzzz]
elia has quit [Quit: Computer has gone to sleep.]
j_mcnally has quit [Ping timeout: 245 seconds]
boberetezeke has quit [Ping timeout: 245 seconds]
fkchang has quit [Ping timeout: 276 seconds]
seamon has joined #opal
e_dub has joined #opal
seamon has quit [Quit: Zzzzzzz]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
j_mcnally has joined #opal
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest79344 has quit [Remote host closed the connection]
meh` has joined #opal
e_dub has quit [Quit: ZZZzzz…]
<
meh`>
adambeynon, is there a way with Opal::Environment to uglify automatically?
elia has joined #opal
<
meh`>
elia, do you know if there's a way to automagically uglify things with Opal::Environment?
<
elia>
there should be
<
elia>
let me check sprockets readme
<
elia>
environment.js_compressor = compressor.to_sym
<
elia>
meh`, environment.js_compressor = :uglify
<
elia>
and don't use debug = true
<
elia>
opal::env is just a sprockets env
e_dub has joined #opal
<
meh`>
elia, any update on opal-rspec?
<
elia>
let me check
<
elia>
adambeynon, ^^^
GitHub17 has joined #opal
<
GitHub17>
lissio/master 1ba1504 meh: component: allow #trigger and #trigger!
GitHub17 has left #opal [#opal]
<
GitHub17>
lissio/master e2ed773 meh: lissio: compress js in production mode
GitHub193 has joined #opal
GitHub193 has left #opal [#opal]
GitHub99 has joined #opal
GitHub99 has left #opal [#opal]
<
GitHub99>
opal-jquery/master fdef3f7 Elia Schito: Merge pull request #48 from wmnnd/master...
<
GitHub99>
opal-jquery/master 8b4fc7c wmnnd: Add #position
<
GitHub99>
opal-jquery/master 7a87e17 wmnnd: Use correct JQuery call in Event#stopped?
elia has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Quit: ZZZzzz…]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
seamon has joined #opal
e_dub has joined #opal
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
seamon has quit [Quit: Zzzzzzz]
elia has joined #opal
CaveJohnson has quit [Ping timeout: 272 seconds]
Zackio has joined #opal
seamon has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
GitHub90 has joined #opal
GitHub90 has left #opal [#opal]
<
GitHub90>
opal-browser/master 8a993db meh: storage: add #commit
seamon has quit [Quit: Zzzzzzz]
<
Kilo`byte>
in case someone is around, how can i turn javascript objects into ruby ones?
<
meh`>
Kilo`byte, require 'native'; Native(yourjsobject)
<
Kilo`byte>
meh`: not wrap :P
<
meh`>
Kilo`byte, then what do you mean?
<
Kilo`byte>
lets say i want to get a Hash object from this js object {foo: 'bar'}
<
Kilo`byte>
the reverse is .to_n
<
meh`>
require 'native'; Hash.new(yourjsobject)
<
Kilo`byte>
does that work recursively?
<
Kilo`byte>
so, if i have a hash containing arrays, strings and objects, does that work properly
<
Kilo`byte>
meh`: ^
travis-ci has joined #opal
<
travis-ci>
[travis-ci] opal/opal-browser#198 (master - 8a993db : meh): The build is still failing.
travis-ci has left #opal [#opal]
<
meh`>
JS arrays are Opal arrays, same for strings
<
meh`>
and I don't remember if it's recursive, it should be
<
Kilo`byte>
kk, i will try
<
Kilo`byte>
finally got around to writing a websocket implementation for webrick today, so i am having fun with them
seamon has joined #opal
j_mcnall_ has joined #opal
j_mcnall_ is now known as j_mcnally
seamon has quit [Quit: Zzzzzzz]
<
Kilo`byte>
huh, no regex grops support?
<
meh`>
Kilo`byte, if it's not in js, nope
<
Kilo`byte>
meh`: too bad :/
meh` has quit [Ping timeout: 255 seconds]
e_dub has quit [Quit: ZZZzzz…]