Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
watch-my-terminal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfab5b7
)
have client's socket.io use same server as the page
author
Jason Woofenden
<jason@jasonwoof.com>
Fri, 1 Feb 2013 01:58:03 +0000
(20:58 -0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Fri, 1 Feb 2013 01:58:03 +0000
(20:58 -0500)
client.coffee
patch
|
blob
|
history
diff --git
a/client.coffee
b/client.coffee
index
3cc8c87
..
6749a60
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-58,7
+58,7
@@
$ ->
$body = $('body')
$body.css backgroundColor: "##{palette[0]}", color: "##{palette[7]}"
- socket = io.connect('http://localhost')
+ socket = io.connect('/')
color_to_css = (i) ->
# handle inverse bit