blob: 29e533c418c63c6948728789b70d9d5bf0f826f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// longpolling for #{ident}
function poller#{ident}() {
if (longpoll('@{gethtml}', '#{ident}')) {
setTimeout(poller#{ident}, #{delay});
}
}
(function( $ ) {
$(document).bind('ready.app', function() {
setTimeout(poller#{ident}, #{startdelay});
});
})( jQuery );
|