Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-03-15 15:53:30 +0300
committerSteffen Lindner <mail@steffen-lindner.de>2018-03-19 15:35:36 +0300
commitbc94202c15b5322ec08105f842e8e533e276d076 (patch)
tree2c46135344646fb475b75112971fdd0f1618bc55 /js/signaling.js
parent1f742c2059c61cc28997d025e4aec959dff9f3dc (diff)
Fix constructors
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'js/signaling.js')
-rw-r--r--js/signaling.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/js/signaling.js b/js/signaling.js
index 35b273276..39612e45f 100644
--- a/js/signaling.js
+++ b/js/signaling.js
@@ -298,8 +298,9 @@
}.bind(this), 500);
}
- OCA.Talk.Signaling.Internal.prototype = new OCA.Talk.Signaling.Base();
- OCA.Talk.Signaling.Internal.prototype.constructor = Internal;
+ Internal.prototype = new OCA.Talk.Signaling.Base();
+ Internal.prototype.constructor = Internal;
+ OCA.Talk.Signaling.Internal = Internal;
OCA.Talk.Signaling.Internal.prototype.disconnect = function() {
this.spreedArrayConnection = [];
@@ -587,8 +588,9 @@
this.connect();
}
- OCA.Talk.Signaling.Standalone.prototype = new OCA.Talk.Signaling.Base();
- OCA.Talk.Signaling.Standalone.prototype.constructor = Standalone;
+ Standalone.prototype = new OCA.Talk.Signaling.Base();
+ Standalone.prototype.constructor = Standalone;
+ OCA.Talk.Signaling.Standalone = Standalone;
OCA.Talk.Signaling.Standalone.prototype.reconnect = function() {
if (this.reconnectTimer) {