git-annex/templates/notifications/longpolling.julius

11 lines
249 B
Text

$(function() {
$.get("@{geturl}", function(url){
var f = function() {
longpoll(url, #{ident}
, function() { setTimeout(f, #{delay}); }
, function() { window.location.reload(true); }
);
};
setTimeout(f, #{startdelay});
});
});