From de064ee54036b3f9a0688e4dcd552a78b0b92eb3 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 20 Dec 2016 01:04:57 +0900 Subject: [PATCH 1/2] fix type definition links NOTE: Everytime, we tried not to change links. --- packages/vue-template-compiler/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-template-compiler/README.md b/packages/vue-template-compiler/README.md index 98d0cceca5b..0104c75dc9d 100644 --- a/packages/vue-template-compiler/README.md +++ b/packages/vue-template-compiler/README.md @@ -38,7 +38,7 @@ The optional `options` object can contain the following: - `modules` - An array of compiler modules. For details on compiler modules, refer to its [type definition](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L35) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules). + An array of compiler modules. For details on compiler modules, refer to its [type definition (in the flowtype, as ModuleOptions)](https://github.com/vuejs/vue/blob/dev/flow/compiler.js) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules). - `directives` @@ -80,7 +80,7 @@ This is only useful at runtime with pre-configured builds, so it doesn't accept ### compiler.parseComponent(file, [options]) -Parse a SFC (single-file component, or `*.vue` file) into a [descriptor](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L137). This is used in SFC build tools like `vue-loader` and `vueify`. +Parse a SFC (single-file component, or `*.vue` file) into a [descriptor (in the flowtype, defined as SFCDescriptor)](https://github.com/vuejs/vue/blob/dev/flow/compiler.js). This is used in SFC build tools like `vue-loader` and `vueify`. #### Options From a86749ca462e11de31f44a1a1c06d1b66ad01018 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Wed, 21 Dec 2016 11:23:04 +0900 Subject: [PATCH 2/2] update flow links --- packages/vue-template-compiler/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-template-compiler/README.md b/packages/vue-template-compiler/README.md index 0104c75dc9d..e7336a360ab 100644 --- a/packages/vue-template-compiler/README.md +++ b/packages/vue-template-compiler/README.md @@ -38,7 +38,7 @@ The optional `options` object can contain the following: - `modules` - An array of compiler modules. For details on compiler modules, refer to its [type definition (in the flowtype, as ModuleOptions)](https://github.com/vuejs/vue/blob/dev/flow/compiler.js) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules). + An array of compiler modules. For details on compiler modules, refer to the `ModuleOptions` type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules). - `directives` @@ -80,7 +80,7 @@ This is only useful at runtime with pre-configured builds, so it doesn't accept ### compiler.parseComponent(file, [options]) -Parse a SFC (single-file component, or `*.vue` file) into a [descriptor (in the flowtype, defined as SFCDescriptor)](https://github.com/vuejs/vue/blob/dev/flow/compiler.js). This is used in SFC build tools like `vue-loader` and `vueify`. +Parse a SFC (single-file component, or `*.vue` file) into a descriptor (refer to the `SFCDescriptor` type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js)). This is used in SFC build tools like `vue-loader` and `vueify`. #### Options