Fixes typo in component.md

This commit is contained in:
Scott Kelly 2016-02-03 21:54:49 -06:00
parent 0682932f63
commit 55b29d2bef

View file

@ -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)
}) })
]); ]);