Merge pull request #955 from ScottKelly/typo_in_component_md

Fixing typo in mithril.component.md file
This commit is contained in:
Isiah Meadows 2016-02-04 00:14:19 -05:00
commit 7ed4cfadee

View file

@ -362,7 +362,7 @@ var MyComponent = {
},
view: function(ctrl) {
return m("ul", [
ctrl.things().map(function(name) {
ctrl.things().map(function(thing) {
return m("li", thing.name)
})
]);