From d7cb465aa709ae38b6bfbaeb3df34454236621eb Mon Sep 17 00:00:00 2001 From: Bruno Lesieur Date: Thu, 2 Mar 2017 15:53:35 +0100 Subject: [PATCH 1/2] Minor changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - « original Array » to « original array » - an extrat « v » char removed --- src/v2/guide/list.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/list.md b/src/v2/guide/list.md index 0abeec0a91..d6a3c7594c 100644 --- a/src/v2/guide/list.md +++ b/src/v2/guide/list.md @@ -288,7 +288,7 @@ new Vue({ {% raw %}
@@ -389,7 +389,7 @@ You can open the console and play with the previous examples' `items` array by c ### Replacing an Array -Mutation methods, as the name suggests, mutate the original array they are called on. In comparison, there are also non-mutating methods, e.g. `filter()`, `concat()` and `slice()`, which do not mutate the original Array but **always return a new array**. When working with non-mutating methods, you can just replace the old array with the new one: +Mutation methods, as the name suggests, mutate the original array they are called on. In comparison, there are also non-mutating methods, e.g. `filter()`, `concat()` and `slice()`, which do not mutate the original array but **always return a new array**. When working with non-mutating methods, you can just replace the old array with the new one: ``` js example1.items = example1.items.filter(function (item) { From 347fd40e2d82d9738808a16bef20a0cab321e3c4 Mon Sep 17 00:00:00 2001 From: Bruno Lesieur Date: Thu, 2 Mar 2017 15:55:24 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Add=20a=20dot=20to=20=C2=AB=20vs.=20=C2=BB?= =?UTF-8?q?=20for=20consistancy.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/v2/guide/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/components.md b/src/v2/guide/components.md index e7a487df5d..6a062b601f 100644 --- a/src/v2/guide/components.md +++ b/src/v2/guide/components.md @@ -327,7 +327,7 @@ new Vue({ {% endraw %} -### Literal vs Dynamic +### Literal vs. Dynamic A common mistake beginners tend to make is attempting to pass down a number using the literal syntax: