Merge pull request #955 from ScottKelly/typo_in_component_md
Fixing typo in mithril.component.md file
This commit is contained in:
commit
7ed4cfadee
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ var MyComponent = {
|
||||||
},
|
},
|
||||||
view: function(ctrl) {
|
view: function(ctrl) {
|
||||||
return m("ul", [
|
return m("ul", [
|
||||||
ctrl.things().map(function(name) {
|
ctrl.things().map(function(thing) {
|
||||||
return m("li", thing.name)
|
return m("li", thing.name)
|
||||||
})
|
})
|
||||||
]);
|
]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue