cleanup
This commit is contained in:
parent
d3413ee5a9
commit
2821f9f976
1 changed files with 3 additions and 4 deletions
|
@ -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});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue