Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 072e7df

Browse files
MachinisteWebkazupon
authored andcommitted
Minor typo changes (vuejs#797)
* Minor changes - « original Array » to « original array » - an extrat « v » char removed * Add a dot to « vs. » for consistancy.
1 parent e87bc4c commit 072e7df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/v2/guide/components.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ new Vue({
327327
</script>
328328
{% endraw %}
329329

330-
### Literal vs Dynamic
330+
### Literal vs. Dynamic
331331

332332
A common mistake beginners tend to make is attempting to pass down a number using the literal syntax:
333333

‎src/v2/guide/list.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ new Vue({
288288
{% raw %}
289289
<div id="todo-list-example" class="demo">
290290
<input
291-
v-model="newTodoText" v
291+
v-model="newTodoText"
292292
v-on:keyup.enter="addNewTodo"
293293
placeholder="Add a todo"
294294
>
@@ -389,7 +389,7 @@ You can open the console and play with the previous examples' `items` array by c
389389

390390
### Replacing an Array
391391

392-
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:
392+
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:
393393

394394
``` js
395395
example1.items = example1.items.filter(function (item) {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /