From a976474c053bc368744a83e189bcd3e7f1eedfcb Mon Sep 17 00:00:00 2001 From: Anton Wilhelm Date: Fri, 20 Mar 2015 09:38:52 +0100 Subject: [PATCH] avoid confusing usage remove example which shows that array operation update the view without any magic. this looks like that it's working with every type of data structure, like strings, but it doesn't. so this is not the way to use --- Readme.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Readme.md b/Readme.md index 8334b61..d6b0e9c 100644 --- a/Readme.md +++ b/Readme.md @@ -71,19 +71,6 @@ var view = reactive(template, model); ``` -You can push (pop, shift, etc) to the array and the view will be updated accordingly. -```js -model.people.push('Eve'); -``` - -```html - -``` - ### Hiding and showing elements DOM elements can be shown or hidden via the `data-visible` and `data-hidden` bindings.