Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bredele committed Dec 31, 2013
1 parent 0329028 commit 3a13c5f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ store.set(0,{
});
```

Emit `change` event with `name, value, previous value`.
Emit `change name` event with `value, previous value`.
Emits `change` event with `name, value, previous value`.<br>
Emits `change name` event with `value, previous value`.

### .get(name)

Expand All @@ -73,16 +73,16 @@ store.get(0);
store.del('nickname');
```

Emit `deleted` event with `name`.
Emit `deleted name` event.
Emits `deleted` event with `name`.<br>
Emits `deleted name` event.


### .on(name, fn)

Listen events on Store.

```js
store.on('change', function(name, val) {
store.on('change', function(name, val, previous) {
...
});
```
Expand All @@ -109,7 +109,7 @@ store.compute('id', function(){
store.reset([]);
```

Emit `change` and/or `deleted` events.
Emits `change` and/or `deleted` events.

### .local(name)

Expand Down

0 comments on commit 3a13c5f

Please sign in to comment.