peerjs config

This commit is contained in:
Kevin Jahns
2014-08-17 01:07:40 +02:00
parent c27618bc0a
commit 8aa5dc9866
10 changed files with 17 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ A working widget implementation is [IwcJson.xml](./IwcJson.xml) and the js-file
```js
function init(){
Y.createPeerJsConnector(function(Connector, user_id){
Y.createIwcConnector(function(Connector, user_id){
```

View File

@@ -14,7 +14,7 @@
A working widget implementation is [IwcJson.xml](./IwcJson.xml) and the js-file is [index.js](./index.js)
*/
function init(){
Y.createPeerJsConnector(function(Connector, user_id){
Y.createIwcConnector(function(Connector, user_id){
/**
yatta is the shared json object. If you change something on this object,
it will be instantly shared with all the other collaborators.