diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-30 20:35:30 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-30 20:35:30 -0400 |
commit | 2821f9f976b104bcb107f44a13ae7f2eb61f2d7a (patch) | |
tree | c314b8d9c2b6a209cbb263ca6ace470c6ae60763 /templates | |
parent | d3413ee5a98367bc2f3c56011db8c9393306d80b (diff) |
cleanup
Diffstat (limited to 'templates')
-rw-r--r-- | templates/longpolling.julius | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/longpolling.julius b/templates/longpolling.julius index 520699cd7..67fe059cf 100644 --- a/templates/longpolling.julius +++ b/templates/longpolling.julius @@ -1,10 +1,9 @@ -// longpolling for #{ident} -function poller#{ident}() { +function longpoll_#{ident}() { longpoll('@{gethtml}', '#{ident}' - , function() { setTimeout(poller#{ident}, #{delay}); } + , function() { setTimeout(longpoll_#{ident}, #{delay}); } , function() { webapp_disconnected(); } ); } $(function() { - setTimeout(poller#{ident}, #{startdelay}); + setTimeout(longpoll_#{ident}, #{startdelay}); }); |