remove debug output

This commit is contained in:
Arthur Schiwon 2012-11-23 12:18:38 +01:00
parent e5ad774ab0
commit 4c707d1b1f
1 changed files with 0 additions and 3 deletions

View File

@ -46,8 +46,6 @@ OC.EventSource=function(src,data){
if(src.indexOf('?') == -1) { if(src.indexOf('?') == -1) {
joinChar = '?'; joinChar = '?';
} }
alert(src.indexOf('?'));
alert(joinChar);
this.source=new EventSource(src+joinChar+dataStr); this.source=new EventSource(src+joinChar+dataStr);
this.source.onmessage=function(e){ this.source.onmessage=function(e){
for(var i=0;i<this.typelessListeners.length;i++){ for(var i=0;i<this.typelessListeners.length;i++){
@ -65,7 +63,6 @@ OC.EventSource=function(src,data){
if(src.indexOf('?') == -1) { if(src.indexOf('?') == -1) {
joinChar = '?'; joinChar = '?';
} }
alert(src.indexOf('?'));
this.iframe.attr('src',src+joinChar+'fallback=true&fallback_id='+OC.EventSource.iframeCount+'&'+dataStr); this.iframe.attr('src',src+joinChar+'fallback=true&fallback_id='+OC.EventSource.iframeCount+'&'+dataStr);
$('body').append(this.iframe); $('body').append(this.iframe);
this.useFallBack=true; this.useFallBack=true;