Update mithril.component.md

This commit is contained in:
Yoshiki Shibukawa 2015-05-03 18:29:57 +09:00
parent a3cc70863c
commit b70b4191b7

View file

@ -217,7 +217,7 @@ Components can be placed anywhere a regular element can. If you have components
```javascript
var App = {
ctrl: function() {
controller: function() {
return {data: [1, 2, 3]}
}
view: function(ctrl) {