Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Hug committed Jan 20, 2016
1 parent bc7f28b commit 4afea94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ document.body.appendChild(label);

### Get live DOM updates with [Snoopy](https://github.com/Daniel-Hug/snoopy)

1. include [Snoopy](https://github.com/Daniel-Hug/snoopy) before DOM builder:
1. include [Snoopy](https://github.com/Daniel-Hug/snoopy) before DOM builder

```html
<script src="path/to/snoopy.js"></script>
Expand All @@ -69,7 +69,7 @@ document.body.appendChild(label);
var counter = Snoopy({count: 0});
```

3. live-bind data with DOM-Builder
3. live-bind data with Snoopy's `counter.snoop()`

```js
var button = dom({
Expand Down

0 comments on commit 4afea94

Please sign in to comment.