Skip to content

Commit

Permalink
Merge pull request #25 from Delapouite/readme
Browse files Browse the repository at this point in the history
docs(README): fix typo vTree → vtree
  • Loading branch information
TimBeyer committed Jan 28, 2016
2 parents a6936fe + b1b77f3 commit e90a5a3
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 @@ -35,7 +35,7 @@ var html = '<div>Foobar</div>';

var vtree = convertHTML(html);
var createElement = require('virtual-dom/create-element');
var el = createElement(vTree);
var el = createElement(vtree);
document.body.appendChild(el);
```

Expand All @@ -61,7 +61,7 @@ If you have a single key method you can also pass the options first, allowing yo
var convertHTMLWithKey = convertHTML.bind(null, {
getVNodeKey: function (attributes) {
return attributes.id;
}
}
});

convertHTMLWithKey('<div id="foo"></div>');
Expand Down

0 comments on commit e90a5a3

Please sign in to comment.