Issue #938 Fixing typo
This commit is contained in:
parent
11e79f8eef
commit
e083aaac9e
1 changed files with 2 additions and 2 deletions
|
|
@ -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"})
|
||||
])
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue