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/
[spoiler] has quit [Quit: Leaving]
CoderPuppy has joined #opal
cpup has quit [Ping timeout: 250 seconds]
godd2 has quit [Remote host closed the connection]
elia has joined #opal
e_dub has quit [Read error: Connection reset by peer]
_whitelogger has quit [Ping timeout: 260 seconds]
_whitelogger has joined #opal
adambeynon_ has joined #opal
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
CoderPuppy has quit [Ping timeout: 244 seconds]
cpup has joined #opal
meh` has quit [Ping timeout: 258 seconds]
CoderPuppy has joined #opal
cpup has quit [Ping timeout: 264 seconds]
moon4u has joined #opal
elia has joined #opal
astantoid has joined #opal
astantoid has left #opal [#opal]
moon4u has quit [Remote host closed the connection]
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
f-3r has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
godd2 has joined #opal
cpup has joined #opal
CoderPuppy has quit [Ping timeout: 256 seconds]
bigdoge has joined #opal
bigdoge has left #opal [#opal]
f-3r has quit [Ping timeout: 264 seconds]
f-3r has joined #opal
krainboltgreene has quit [*.net *.split]
wasnotrice has quit [*.net *.split]
krainboltgreene has joined #opal
wasnotrice has joined #opal
e_dub has quit [Quit: e_dub]
e_dub has joined #opal
f-3r has quit [Ping timeout: 255 seconds]
Max has joined #opal
<Max> Hey guys I have a noobie question. I am trying to get opal browser to work with sinatra. However I get this error
Max is now known as Guest59689
<Guest59689> Uncaught NameError: uninitialized constant Browser::Socket
<godd2> Guest59689 where are you getting that?
<Guest59689> In the javascript console
<Guest59689> here is my application.rb file
<Guest59689> require 'opal' require 'browser' Browser::Socket.new 'ws://echo.websocket.org' do on :open do every 1 do puts "ping" end end on :message do |e| log "Received #{e.data}" end end
<Guest59689> require 'opal'
<Guest59689> require 'browser'
<Guest59689> Browser::Socket.new 'ws://echo.websocket.org' do end
Guest59689 has quit [Ping timeout: 246 seconds]
e_dub has quit [Quit: e_dub]
f-3r has joined #opal
f-3r has quit [Ping timeout: 264 seconds]