From 63d67e1d71dcfbcd2f55444e23ffcb70fd54a09d Mon Sep 17 00:00:00 2001 From: Richard Ivan Date: Tue, 24 May 2016 16:44:50 +0200 Subject: [PATCH] typo typo --- docs/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components.md b/docs/components.md index 4dca1cc0..6359433b 100644 --- a/docs/components.md +++ b/docs/components.md @@ -139,7 +139,7 @@ m(ComponentUsingThis, {text: "Hello"}) //
Hello
``` -Be aware that when using ES5 functions, the value of `this` in nested anonymous functions is not the component instance. There are two recommended ways to get around this Javascript limitation, use ES6 arrow functions, of if ES6 is not available, use `vnode.state`. +Be aware that when using ES5 functions, the value of `this` in nested anonymous functions is not the component instance. There are two recommended ways to get around this Javascript limitation, use ES6 arrow functions, if ES6 is not available, use `vnode.state`. ---