Merge pull request #943 from luisfmsouza/next

Issue #938 Fixing typo
This commit is contained in:
Isiah Meadows 2016-01-22 17:56:44 -05:00
commit f4723261d9

View file

@ -165,8 +165,8 @@ var MyComponent = {
m.render(document.body, [
//the two lines below are equivalent
m(component, {data: "world"}),
m.component(component, {data: "world"})
m(MyComponent, {data: "world"}),
m.component(MyComponent, {data: "world"})
])
```