aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/eventsource.js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-04-21 14:42:50 +0200
committerLukas Reschke <lukas@statuscode.ch>2014-04-21 14:42:50 +0200
commit51eee3dec1a52656fdfc6834de5c61c615d110d2 (patch)
treed002c5c73e0d16c4cd55cac55a930d260b21fed1 /core/js/eventsource.js
parent8fcffae1e2448cfa04297aa028801db5a00e6073 (diff)
downloadnextcloud-server-51eee3dec1a52656fdfc6834de5c61c615d110d2.tar.gz
nextcloud-server-51eee3dec1a52656fdfc6834de5c61c615d110d2.zip
Fix JSDoc
Diffstat (limited to 'core/js/eventsource.js')
-rw-r--r--core/js/eventsource.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/js/eventsource.js b/core/js/eventsource.js
index 536b180bc8f..70fd3192ba1 100644
--- a/core/js/eventsource.js
+++ b/core/js/eventsource.js
@@ -27,9 +27,9 @@
*/
/**
- * create a new event source
- * @param string src
- * @param object data to be send as GET
+ * Create a new event source
+ * @param {string} src
+ * @param {object} [data] to be send as GET
*/
OC.EventSource=function(src,data){
var dataStr='';
@@ -74,12 +74,12 @@ OC.EventSource=function(src,data){
this.close();
}
}.bind(this));
-}
+};
OC.EventSource.fallBackSources=[];
OC.EventSource.iframeCount=0;//number of fallback iframes
OC.EventSource.fallBackCallBack=function(id,type,data){
OC.EventSource.fallBackSources[id].fallBackCallBack(type,data);
-}
+};
OC.EventSource.prototype={
typelessListeners:[],
iframe:null,
@@ -127,4 +127,4 @@ OC.EventSource.prototype={
this.source.close();
}
}
-}
+};