Skip to content

Commit 842ee54

Browse files
minho42NataliaTepluhina
authored andcommitted
Fix typos (#2224)
1 parent 12dc478 commit 842ee54

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/v2/api/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ type: api
15341534
// function
15351535
vm.$watch(
15361536
function () {
1537-
// everytime the expression `this.a + this.b` yields a different result,
1537+
// every time the expression `this.a + this.b` yields a different result,
15381538
// the handler will be called. It's as if we were watching a computed
15391539
// property without defining the computed property itself
15401540
return this.a + this.b
@@ -1576,7 +1576,7 @@ type: api
15761576
// `callback` is fired immediately with current value of `a`
15771577
```
15781578
1579-
Note that with `immediate` option you won't be able to unwatch the given property on the first callback call.
1579+
Note that with `immediate` option you won't be able to unwatch the given property on the first callback call.
15801580
15811581
``` js
15821582
// This will cause an error
@@ -1589,7 +1589,7 @@ type: api
15891589
{ immediate: true }
15901590
)
15911591
```
1592-
1592+
15931593
If you still want to call an unwatch function inside the callback, you should check its availability first:
15941594
15951595
``` js

src/v2/cookbook/dockerize-vuejs-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ EXPOSE 8080
3535
CMD [ "http-server", "dist" ]
3636
```
3737

38-
It may seem reduntant to first copy `package.json` and `package-lock.json` and then all project files and folders in two separate steps but there is actually [a very good reason for that](http://bitjudo.com/blog/2014/03/13/building-efficient-dockerfiles-node-dot-js/) (spoiler: it allows us to take advantage of cached Docker layers).
38+
It may seem redundant to first copy `package.json` and `package-lock.json` and then all project files and folders in two separate steps but there is actually [a very good reason for that](http://bitjudo.com/blog/2014/03/13/building-efficient-dockerfiles-node-dot-js/) (spoiler: it allows us to take advantage of cached Docker layers).
3939

4040
Now let's build the Docker image of our Vue.js app:
4141

themes/vue/source/js/vue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8749,7 +8749,7 @@ var startTagOpen = new RegExp(("^<" + qnameCapture));
87498749
var startTagClose = /^\s*(\/?)>/;
87508750
var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>"));
87518751
var doctype = /^<!DOCTYPE [^>]+>/i;
8752-
// #7298: escape - to avoid being pased as HTML comment when inlined in page
8752+
// #7298: escape - to avoid being passed as HTML comment when inlined in page
87538753
var comment = /^<!\--/;
87548754
var conditionalComment = /^<!\[/;
87558755

0 commit comments

Comments
 (0)