aboutsummaryrefslogtreecommitdiff
path: root/templates/notifications/longpolling.julius
diff options
context:
space:
mode:
Diffstat (limited to 'templates/notifications/longpolling.julius')
-rw-r--r--templates/notifications/longpolling.julius12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/notifications/longpolling.julius b/templates/notifications/longpolling.julius
deleted file mode 100644
index affa50cc8..000000000
--- a/templates/notifications/longpolling.julius
+++ /dev/null
@@ -1,12 +0,0 @@
-function longpoll_#{ident}() {
- longpoll(longpoll_#{ident}_url, '#{ident}'
- , function() { setTimeout(longpoll_#{ident}, #{delay}); }
- , function() { webapp_disconnected(); }
- );
-}
-$(function() {
- $.get("@{geturl}", function(url){
- longpoll_#{ident}_url = url;
- setTimeout(longpoll_#{ident}, #{startdelay});
- });
-});