From 049178b5950abc65b69640f6bbfc4d5d8959b199 Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Sun, 23 Apr 2017 12:56:22 +0300 Subject: [PATCH 1/3] api/index.md change standalone to full --- src/v2/api/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/v2/api/index.md b/src/v2/api/index.md index 607df0de7a..6b047ffbde 100644 --- a/src/v2/api/index.md +++ b/src/v2/api/index.md @@ -122,7 +122,7 @@ type: api ```html ``` - + Define custom key alias(es) for v-on. ### performance @@ -351,7 +351,7 @@ type: api - **Usage:** - Compiles a template string into a render function. **Only available in the standalone build.** + Compiles a template string into a render function. **Only available in the full build.** ``` js var res = Vue.compile('
{{ msg }}
') @@ -1013,7 +1013,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc - **Details:** - Change the plain text interpolation delimiters. **This option is only available in the standalone build.** + Change the plain text interpolation delimiters. **This option is only available in the full build.** - **Example:** From 8e0d953cd4873eb4f5795a47c5326d285ed75368 Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Sun, 23 Apr 2017 12:56:36 +0300 Subject: [PATCH 2/3] deployment.md change standalone to full --- src/v2/guide/deployment.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/deployment.md b/src/v2/guide/deployment.md index 940593f609..de861b0f6a 100644 --- a/src/v2/guide/deployment.md +++ b/src/v2/guide/deployment.md @@ -10,7 +10,7 @@ During development, Vue provides a lot of warnings to help you with common error ### Without Build Tools -If you are using the standalone build, i.e. directly including Vue via a script tag without a build tool, make sure to use the minified version (`vue.min.js`) for production. Both versions can be found in the [Installation guide](installation.html#Direct-lt-script-gt-Include). +If you are using the full build, i.e. directly including Vue via a script tag without a build tool, make sure to use the minified version (`vue.min.js`) for production. Both versions can be found in the [Installation guide](installation.html#Direct-lt-script-gt-Include). ### With Build Tools From 9f1e2fee9e51d49da616c6fde7386647fcee4ea1 Mon Sep 17 00:00:00 2001 From: Alex-Sokolov Date: Sun, 23 Apr 2017 12:56:46 +0300 Subject: [PATCH 3/3] installation.md change standalone to full --- src/v2/guide/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index 2beaea877f..e5bcf7dae5 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -206,7 +206,7 @@ Also see [Production Deployment Tips](deployment.html). ### CSP environments -Some environments, such as Google Chrome Apps, enforce Content Security Policy (CSP), which prohibits the use of `new Function()` for evaluating expressions. The standalone build depends on this feature to compile templates, so is unusable in these environments. +Some environments, such as Google Chrome Apps, enforce Content Security Policy (CSP), which prohibits the use of `new Function()` for evaluating expressions. The full build depends on this feature to compile templates, so is unusable in these environments. On the other hand, the runtime-only build is fully CSP-compliant. When using the runtime-only build with [Webpack + vue-loader](https://github.com/vuejs-templates/webpack-simple) or [Browserify + vueify](https://github.com/vuejs-templates/browserify-simple), your templates will be precompiled into `render` functions which work perfectly in CSP environments.