MIT Licensed

This commit is contained in:
Kevin Jahns
2014-08-06 13:33:08 +02:00
parent c1194a49ea
commit 171e767445
48 changed files with 129 additions and 241 deletions

View File

@@ -10,11 +10,13 @@
<script src="../dest/browser/Frameworks/JsonIwcYatta.min.js"></script>
<script src="./IwcJson.js"></script>
```
A working widget implementation is maintained [here](./IwcJson.xml) and the js-file is [here](./IwcJson.js)
*/
function init(){
createConnector(function(Connector, user_id){
/**
yatta is the shared json object
yatta is the shared json object. If you change something on this object,
it will be instantly shared with all the other collaborators.
*/
yatta = new JsonYatta(user_id, Connector);

View File

@@ -8,6 +8,7 @@ First you have to include the following libraries in your widget file:
<script src="../dest/browser/Frameworks/JsonIwcYatta.min.js"></script>
<script src="./IwcJson.js"></script>
```
A working widget implementation is maintained [here](./IwcJson.xml) and the js-file is [here](./IwcJson.js)
```js
@@ -16,7 +17,8 @@ function init(){
```
yatta is the shared json object
yatta is the shared json object. If you change something on this object,
it will be instantly shared with all the other collaborators.
```js