diff --git a/src/v2/api/index.md b/src/v2/api/index.md index 16f8aa9780..81fa7ce5b7 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -1534,7 +1534,7 @@ type: api // function vm.$watch( function () { - // everytime the expression `this.a + this.b` yields a different result, + // every time the expression `this.a + this.b` yields a different result, // the handler will be called. It's as if we were watching a computed // property without defining the computed property itself return this.a + this.b @@ -1576,7 +1576,7 @@ type: api // `callback` is fired immediately with current value of `a` ``` - Note that with `immediate` option you won't be able to unwatch the given property on the first callback call. + Note that with `immediate` option you won't be able to unwatch the given property on the first callback call. ``` js // This will cause an error @@ -1589,7 +1589,7 @@ type: api { immediate: true } ) ``` - + If you still want to call an unwatch function inside the callback, you should check its availability first: ``` js diff --git a/src/v2/cookbook/dockerize-vuejs-app.md b/src/v2/cookbook/dockerize-vuejs-app.md index 12b282dd32..0897813dfb 100644 --- a/src/v2/cookbook/dockerize-vuejs-app.md +++ b/src/v2/cookbook/dockerize-vuejs-app.md @@ -35,7 +35,7 @@ EXPOSE 8080 CMD [ "http-server", "dist" ] ``` -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). +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). Now let's build the Docker image of our Vue.js app: diff --git a/themes/vue/source/js/vue.js b/themes/vue/source/js/vue.js index 657cb37eaa..bb8e3ca593 100644 --- a/themes/vue/source/js/vue.js +++ b/themes/vue/source/js/vue.js @@ -8749,7 +8749,7 @@ var startTagOpen = new RegExp(("^<" + qnameCapture)); var startTagClose = /^\s*(\/?)>/; var endTag = new RegExp(("^<\\/" + qnameCapture + "[^>]*>")); var doctype = /^]+>/i; -// #7298: escape - to avoid being pased as HTML comment when inlined in page +// #7298: escape - to avoid being passed as HTML comment when inlined in page var comment = /^