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/
dimaursu16 has quit [Ping timeout: 248 seconds]
elia has quit [Quit: Computer has gone to sleep.]
ryanstout has quit [*.net *.split]
ryanstout has joined #opal
ryanstout has quit [*.net *.split]
ryanstout has joined #opal
e_dub has joined #opal
RoxasShadowRS has quit [Read error: Connection reset by peer]
Steve445 has joined #opal
meh`_ has quit [Ping timeout: 272 seconds]
ryanstout has quit [Quit: ryanstout]
Steve445 has quit [Quit: Steve445]
e_dub has quit [Ping timeout: 265 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 260 seconds]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
dimaursu16 has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
e_dub has quit [Ping timeout: 252 seconds]
elia has joined #opal
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
kludge` has quit [Ping timeout: 248 seconds]
kludge` has joined #opal
RoxasShadowRS has joined #opal
mobile has joined #opal
<mobile> hi
mobile is now known as kings
<kings> anyone know anything about the OPal donate constants
<kings> im writing a wrapper for a js lib
<kings> and i require the js lib and require my wrapper
<kings> but when i hit the index page i get an error saying cannot read property constants of undefined
<kings> my wrapper is a copy of the jquery opal structure and i have on,y 1 class
<kings> which extends dom class in the same way jquery opal does
<kings> but even if i comment the whole class out i get the same error still
<kings> back in a bit
mobile has joined #opal
kings has quit [Read error: Connection reset by peer]
<mobile> arg
<adambeynon> hi mobile
<adambeynon> have you got a gist of your code?
mobile is now known as kings
<kings> hi sorry im on my ipad
<adambeynon> me too :) makes typing code a tad more difficult..
<kings> but it would be helpful to know how i end up in the opal constants bit
<adambeynon> is that error happening when you are trying to access the created class?
<kings> it happens even if i comment out the class
<kings> so imagine a clone of opal jquery
<kings> but instead of all the jquery classes
<kings> i hsve just one class
<kings> it looks like the Element clsss
<kings> but instead of root dom class of jquery or zepto
<kings> i replaced it with d3
<adambeynon> kings: using something like: class Foo < `some_constructor`
<kings> then renamed the element class to class Selection < ''dom class"
<kings> exactly like the jquery one
<kings> then i have one self.select(selector) method
<kings> which does d3.select(selector)
<kings> very similar to the jquery ones
<kings> is that the right way to do it?
<kings> damn i have to go out for an hour - ill come va
<kings> back in an hour or so
<adambeynon> kings: ok, I will try and sort it when you're back
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
<kings> hi
<kings> i went for thai food
<kings> im so full
<kings> adambeynon im back
<kings> i managed to create a pastie on my ipad
<kings> pastie.org/8755539
<kings> hi elia
<elia> hi!
<kings> ive been having a problem - i put it in my pastie
<kings> can you see my pastie
<kings> oops
<kings> arg its hard to work on an ipad
kings is now known as dragonkh
<dragonkh> yay got my nick sorted out and logged in now
<dragonkh> ok let me know if you have any idea whats causing my error
<dragonkh> thanks :)
dragonkh has quit [Remote host closed the connection]
kings has joined #opal
<kings> aha
<kings> stupid ipad and internet
dragonkh has joined #opal
kings has quit [Read error: Connection reset by peer]
<dragonkh> arg
RoxasShadowRS has quit [Read error: Connection reset by peer]
<adambeynon> dragonkh: what opal version?
<dragonkh> hey
<dragonkh> the same as jquery
<dragonkh> opal
<dragonkh> adambeynon hey
fkchang has joined #opal
dragonkh has quit [Remote host closed the connection]
DrShoggoth has joined #opal
elia has quit [Ping timeout: 265 seconds]
elia has joined #opal
meh` has joined #opal
ryanstout has joined #opal
elia has quit [Ping timeout: 265 seconds]
mneorr has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
mneorr has quit [Ping timeout: 252 seconds]
mneorr has joined #opal
mneorr has quit [Read error: Connection reset by peer]
mneorr has joined #opal
e_dub has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
DrShoggoth has quit [Quit: Leaving]
DrShoggoth has joined #opal
mneorr has quit [Remote host closed the connection]
mneorr has joined #opal
DrShoggoth has quit [Quit: Leaving]
dimaursu16 has quit [Read error: Operation timed out]