Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
peach-cgt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix get/set url generation/parsing
[peach-cgt.git]
/
client.coffee
diff --git
a/client.coffee
b/client.coffee
index
73fffa1
..
0ec59d6
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-150,8
+150,8
@@
send_updates = ->
messages = outgoing_messages
outgoing_messages = []
messages = outgoing_messages
outgoing_messages = []
- show_message "#{server_url}/set"
- $.ajax "#{server_url}/set", {
+ show_message "#{server_url}set"
+ $.ajax "#{server_url}set", {
cache: false
data: {
agent: state.agent
cache: false
data: {
agent: state.agent
@@
-173,7
+173,7
@@
send_updates = ->
error_lag = 3
poll_for_updates = ->
error_lag = 3
poll_for_updates = ->
- $.ajax "#{server_url}/get?agent=#{state.agent}&game=#{state.slug}", {
+ $.ajax "#{server_url}get?agent=#{state.agent}&game=#{state.slug}", {
cache: false
type: 'GET'
dataType: 'json'
cache: false
type: 'GET'
dataType: 'json'