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.]
<skofo> ?
skofo has quit [Ping timeout: 252 seconds]
RoxasShadowRS has quit [Quit: Leaving]
chesterbr has joined #opal
chesterbr has quit [Quit: chesterbr]
chesterbr has joined #opal
ryanstout has quit [Quit: ryanstout]
chesterbr has quit [Quit: chesterbr]
fkchang has quit [Ping timeout: 251 seconds]
Noldorin has quit []
femto has quit []
chesterbr has joined #opal
meh` has quit [Ping timeout: 245 seconds]
chesterbr has quit [Quit: chesterbr]
e_dub has joined #opal
dimaursu16 has joined #opal
femto has joined #opal
RoxasShadowRS has joined #opal
femto has left #opal [#opal]
dragonkh has joined #opal
<dragonkh> morning
<dragonkh> haven't been around for a while - superbusy!
elia has joined #opal
elia has quit [Remote host closed the connection]
elia has joined #opal
kludge` has quit [Ping timeout: 248 seconds]
kludge` has joined #opal
chesterbr has joined #opal
e_dub has quit [Quit: It's a hard knock life]
meh` has joined #opal
elia has quit [Ping timeout: 260 seconds]
DouweM has quit [Ping timeout: 252 seconds]
chesterbr has quit [Quit: chesterbr]
elia has joined #opal
Noldorin has joined #opal
dimaursu16 has quit [Ping timeout: 260 seconds]
fkchang has joined #opal
dimaursu16 has joined #opal
DrShoggoth has joined #opal
elia has quit [Ping timeout: 252 seconds]
Noldorin has quit []
dimaursu16 has quit [Ping timeout: 252 seconds]
ryanstout has joined #opal
dimaursu16 has joined #opal
mneorr has joined #opal
Noldorin has joined #opal
e_dub has joined #opal
skofo has joined #opal
skofo has quit [Quit: Leaving]
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
Noldorin has left #opal [#opal]
DrShoggoth has quit [Quit: Leaving]
dimaursu16 has quit [Ping timeout: 260 seconds]
fkchang has quit [Remote host closed the connection]
mojavelinux has joined #opal
mojavelinux has quit [Quit: WeeChat 0.4.0]
<dragonkh> evening
<ryanstout> evening
<dragonkh> what can I use to minify my js that gets generated from opal?
<ryanstout> opal uses sprockets, so you should be able to put uglier or one of the other sprockets compressors in the pipeline
<ryanstout> I think the opal environment inherits from Sprocket::Environment, so you should be able to do:
<ryanstout> env.js_compressor = Sprockets::UglifierCompressor
<ryanstout> are you running a rack app?
<dragonkh> I'm building a static js file - it's a little table library - so it will be distributed as a js file
<ryanstout> ah
<dragonkh> while building it I'm running in rack - but I have a rake that builds the js for distribution
<ryanstout> for that you might just want to manually call uglier or something from via shelling out (from you build script)
<dragonkh> I put that line you gave me in my rake file and it seems to have done the trick
<ryanstout> cool
<dragonkh> it did take about 20 seconds but thats fine
<ryanstout> yea, all of the minimizers are pretty slow
<dragonkh> have you seen datatables.js or similar? theres a few - flexigrid, slickgrid etc
<ryanstout> no, I haven't
<dragonkh> I've made a clone of datatables.js but based on the purecss library
<ryanstout> what's the url?
<dragonkh> I've been using pure as its so lightweight - http://purecss.io/