Merge pull request #1611 from balajisivanath/patch-1

Possible grammar correction
This commit is contained in:
Leo Horie 2017-02-09 12:32:03 -05:00 committed by GitHub
commit 9d7a315db6

View file

@ -95,7 +95,7 @@ Let's wrap our text in an `<h1>` tag.
m.render(root, m("h1", "My first app"))
```
The `m()` function can be used to describe any HTML structure you want. So if you to add a class to the `<h1>`:
The `m()` function can be used to describe any HTML structure you want. So if you need to add a class to the `<h1>`:
```javascript
m("h1", {class: "title"}, "My first app")