webapp: More adjustments to longpoll code to deal with changes in variable quoting in different versions of shakespeare-js.

This commit is contained in:
Joey Hess 2013-01-14 18:35:33 -04:00
parent 3bef53b0f7
commit 5a9f8acb99
3 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,7 @@
$(function() {
$.get("@{geturl}", function(url){
var f = function() {
longpoll(url, '#{ident}'
longpoll(url, #{ident}
, function() { setTimeout(f, #{delay}); }
, function() { webapp_disconnected(); }
);