documentation fixes

This commit is contained in:
Leo Horie 2016-05-26 15:21:30 -04:00
parent e35fc79f09
commit 0ed3d20c4c
3 changed files with 8 additions and 4 deletions

View file

@ -125,7 +125,7 @@ State can also be accessed via the `this` keyword, which is available to all lif
```javascript
var ComponentUsingThis = {
oninit: function() {
oninit: function(vnode) {
this.data = vnode.attrs.text
},
view: function(vnode) {