updated README

This commit is contained in:
Kevin Jahns
2014-08-19 21:22:43 +02:00
parent 671174e17f
commit a7dffa6ce9
3 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ Apply a 'addProperty' - listener to a JsonType.
console.log("Property '" + property_name + "' was created!");
};
yatta.on('addProperty', addProperty);
yatta.val('q', {z: 7}); // Property 'newString' was created!
yatta.val('new', {z: 7}); // Property 'new' was created!
```

View File

@@ -87,7 +87,7 @@ Y.createPeerJsConnector({key: 'h7nlefbgavh1tt9'}, function(Connector, user_id){
console.log("Property '" + property_name + "' was created!");
};
yatta.on('addProperty', addProperty);
yatta.val('q', {z: 7}); // Property 'newString' was created!
yatta.val('new', {z: 7}); // Property 'new' was created!
/**
Apply a 'change' - listener to a JsonType.