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
clients ask/get initial state on [re]load
[peach-cgt.git]
/
client.coffee
diff --git
a/client.coffee
b/client.coffee
index
63fd6c6
..
6f8d230
100644
(file)
--- a/
client.coffee
+++ b/
client.coffee
@@
-130,6
+130,9
@@
init = ->
# timeout so browser will stop showing that we're loading
timeout 1, poll_for_updates
+ timeout 2, ->
+ # ask for initial state
+ tell_server ['send_state', state.agent]
$ ->
$table = $ '#table'