Issue #938 Fixing typo

This commit is contained in:
Luis Felipe Souza 2016-01-22 14:21:41 -02:00
parent 11e79f8eef
commit e083aaac9e

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"})
])
```