Merge pull request #602 from shibukawa/patch-5

Update mithril.component.md
This commit is contained in:
Leo Horie 2015-05-04 11:19:46 -04:00
commit 9d4ba26f50

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) {