Skip to content

Commit

Permalink
Fix README example
Browse files Browse the repository at this point in the history
  • Loading branch information
maael committed Jul 26, 2015
1 parent 6c97f66 commit 01fec12
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 @@ -4,7 +4,7 @@ A super small (only 2.7kB) javascript library to make html by chaining javascrip
## Example

```js
var test = dom()
var test = html()
.add('div', {className: 'container'})
.contains('div', {className: 'header'})
.contains('h5', {className: 'headerTitle', text: 'This is a header'}).end()
Expand All @@ -25,4 +25,4 @@ Produces -
<p>This is the content</p>
</div>
</div>
```
```

0 comments on commit 01fec12

Please sign in to comment.