Merge branch 'next' of github.com:lhorie/mithril.js into next
This commit is contained in:
commit
56a51664b7
2 changed files with 17 additions and 4 deletions
|
|
@ -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)
|
||||
})
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue