added textbind example, improved & fixed syncing, RBTree handles ids correctly now, webrtc connector is quite reliable now

This commit is contained in:
Kevin Jahns
2015-07-16 06:15:23 +02:00
parent f9f8228db6
commit f78dc52d7b
14 changed files with 473 additions and 66 deletions

View File

@@ -12,12 +12,12 @@ class WebRTC extends AbstractConnector {
var room = options.room;
// connect per default to our server
if(options.url == null){
options.url = "https://yatta.ninja:8888";
}
var webrtcOptions = {
url: options.url || "https://yatta.ninja:8888",
room: options.room
};
var swr = new SimpleWebRTC(options); //eslint-disable-line no-undef
var swr = new SimpleWebRTC(webrtcOptions); //eslint-disable-line no-undef
this.swr = swr;
var self = this;