benyami has quit [Quit: benyami]
ryanstout has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
DrShoggoth has quit [Quit: Leaving]
mneorr_ has joined #opal
mneorr has quit [Ping timeout: 272 seconds]
mneorr_ has quit [Ping timeout: 245 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
fkchang has quit [Ping timeout: 272 seconds]
marcandre has joined #opal
mneorr has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 272 seconds]
meh` has quit [Ping timeout: 260 seconds]
mneorr has joined #opal
<
ryanstout>
anyone here familiar with the source map implementation? My map files are empty and $OPAL_SOURCE_MAPS is {}
<
ryanstout>
also, the //# tags aren't in the JS files
<
ryanstout>
but I have Opal::Processor.source_map_enabled = true
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 245 seconds]
<
ryanstout>
ok, figured it out. Looks like it was an issue with caching. I had set environment.cache = Sprockets::Cache::FileStore.new("./tmp")
<
ryanstout>
when I switch from source maps enabled to not enabled it doesn't switch in the tmp files. Anyone know if thats to be expected?
mneorr has joined #opal
e_dub has quit [Ping timeout: 276 seconds]
e_dub has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 272 seconds]
mneorr has joined #opal
ryanstout has quit [Quit: ryanstout]
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 245 seconds]
mneorr has joined #opal
kludge` has quit [Remote host closed the connection]
marcandre has quit [Remote host closed the connection]
kludge` has joined #opal
ylluminate has quit [Quit: Bye!]
dfranciosi has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
elia has joined #opal
mneorr has quit [Ping timeout: 276 seconds]
dragonkh has quit [Quit: Bye!]
e_dub has quit [Ping timeout: 276 seconds]
kludge` has quit [Ping timeout: 276 seconds]
e_dub has joined #opal
kludge` has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
dfranciosi has quit [Remote host closed the connection]
meh` has joined #opal
dfranciosi has joined #opal
kartouch has quit [Ping timeout: 252 seconds]
kartouch has joined #opal
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
meh` has quit [Ping timeout: 272 seconds]
e_dub has quit [Ping timeout: 276 seconds]
e_dub has joined #opal
meh` has joined #opal
wmnnd has quit [Ping timeout: 272 seconds]
DouweM has joined #opal
wmnnd has joined #opal
marcandre has joined #opal
DouweM_ has joined #opal
DouweM has quit [Ping timeout: 248 seconds]
wmnnd has quit [Ping timeout: 252 seconds]
wmnnd has joined #opal
mneorr has joined #opal
DrShoggoth has joined #opal
meh` has quit [Read error: Operation timed out]
e_dub has quit [Ping timeout: 276 seconds]
e_dub has joined #opal
meh` has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
ryanstout has joined #opal
mneorr has quit [Ping timeout: 252 seconds]
elia has quit [Ping timeout: 245 seconds]
Liothen has quit [Remote host closed the connection]
Liothen has joined #opal
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
mneorr has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
<
wmnnd>
adambeynon: Hey there, I wanted to ask whether you had maybe figured something out about the checkboxes :)
<
adambeynon>
wmnnd: I did look. I dont think I have exposed the relevant method from jquery
<
adambeynon>
wmnnd: what is the normal jquery way of doing it?
<
wmnnd>
adambeynon: I'd say, usually you would use .prop("checked") which would return true or false.
<
adambeynon>
wmnnd: and which version of opal-jquery are you using now?
<
adambeynon>
wmnnd: if it is >= 0.1.2 then we did add the #prop() method
<
wmnnd>
It should be the master branch from a few days ago.
<
adambeynon>
and #prop() doesnt work?
<
wmnnd>
Let me try it again. Just to make sure, bundler actually installed the right version,how could I check that?
meh` has quit [Ping timeout: 252 seconds]
<
adambeynon>
http://opalrb.org/try/#code:Element.expose%20%3Aprop%0A%0AElement.parse(%3C%3C-HTML).append_to_body%0A%3Cinput%20id%3D%22check-a%22%20type%3D%22checkbox%22%20%2F%3E%0A%3Cinput%20id%3D%22check-b%22%20type%3D%22checkbox%22%20checked%20%2F%3E%0AHTML%0A%0Aputs%20Element%5B'%23check-a'%5D.prop('checked')%0Aputs%20Element%5B'%23check-b'%5D.prop('checked')
e_dub has quit [Quit: It's a hard knock life]
<
adambeynon>
wmnnd: that uses "Element.expose :prop" to expose it if it isnt alredt
<
adambeynon>
the version on the website is old, so didnt have it
<
adambeynon>
but, master and the latest gem should have it available
<
wmnnd>
It gives me TypeError: strs[i] is undefined
<
wmnnd>
The version number mentioned in my install.log is 0.1.2
<
wmnnd>
Ah, now I remember, I didn't use the master branch because that didn't work with the dependencies of opal-sprockets.
<
wmnnd>
adambeynon: What did you think about the idea to map the checked value to the .value getter/setter for checkboxes?
<
adambeynon>
wmnnd: Im suprised jquery didnt do that for the val() function
<
adambeynon>
wmnnd: I think some #checked? method would be nicer
<
adambeynon>
and #checked = true
<
adambeynon>
wmnnd: i gtg
<
adambeynon>
back in an hour (ish)
meh` has joined #opal
dfranciosi has quit [Remote host closed the connection]
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
wmnnd has quit [Ping timeout: 272 seconds]
wmnnd has joined #opal
mneorr has quit [Ping timeout: 245 seconds]
meh` has quit [Ping timeout: 252 seconds]
xibalba has joined #opal
<
xibalba>
amazing concept
<
xibalba>
where will ruby go next?
fkchang has joined #opal
ryanstout has joined #opal
meh` has joined #opal
marcandre has quit [Remote host closed the connection]
marcandre has joined #opal
marcandre has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 245 seconds]
mneorr has joined #opal
kartouch has quit [Ping timeout: 252 seconds]
marcandre has joined #opal
kartouch has joined #opal
wmnnd_ has joined #opal
mneorr_ has joined #opal
xibalba has joined #opal
wmnnd has quit [Ping timeout: 245 seconds]
mneorr has quit [Ping timeout: 245 seconds]
royvandermeij has quit [Ping timeout: 252 seconds]
antonishen has joined #opal
royvandermeij has joined #opal