Skip to content

Commit 93be198

Browse files
committed
更新所有原文链接
1 parent d52477c commit 93be198

27 files changed

+130
-14
lines changed

src/guide/class-and-style.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,9 @@ data: {
156156

157157
`v-bind:style`使用需要厂商前缀的 CSS 属性时,如 `transform`,Vue.js 会自动侦测并添加相应的前缀。
158158

159+
***
160+
161+
> 原文:http://vuejs.org/guide/class-and-style.html
162+
163+
***
164+

src/guide/comparison.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,3 +327,9 @@ Riot 2.0 provides a similar component-based development model (which is called a
327327
- More mature tooling support. Vue provides official support for [Webpack](https://github.com/vuejs/vue-loader), [Browserify](https://github.com/vuejs/vueify), and [SystemJS](https://github.com/vuejs/systemjs-plugin-vue), while Riot relies on community support for build system integration.
328328
- [Transition effect system](transitions.html). Riot has none.
329329
- Better performance. [Despite advertising](https://github.com/vuejs/vuejs.org/issues/346) use of a virtual DOM, Riot in fact uses dirty checking and thus suffers from the same performance issues as Angular 1.
330+
331+
***
332+
333+
> 原文:http://vuejs.org/guide/comparison.html
334+
335+
***

src/guide/components.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,3 +1032,9 @@ Vue.component('terms-of-service', {
10321032
'
10331033
})
10341034
```
1035+
1036+
***
1037+
1038+
> 原文:http://vuejs.org/guide/components.html
1039+
1040+
***

src/guide/computed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ var watchExampleVM = new Vue({
315315

316316
***
317317

318-
> 原文:http://rc.vuejs.org/guide/computed.html
318+
> 原文:http://vuejs.org/guide/computed.html
319319
320320
***
321321

src/guide/conditional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ order: 7
9999

100100
***
101101

102-
> 原文:http://rc.vuejs.org/guide/conditional.html
102+
> 原文:http://vuejs.org/guide/conditional.html
103103
104104
***

src/guide/custom-directive.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,9 @@ Vue.directive('demo', function (el, binding) {
162162
console.log(binding.value.text) // => "hello!"
163163
})
164164
```
165+
166+
***
167+
168+
> 原文:http://vuejs.org/guide/custom-directive.html
169+
170+
***

src/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Vue.config.keyCodes.f1 = 112
244244

245245
***
246246

247-
> 原文:http://rc.vuejs.org/guide/events.html
247+
> 原文:http://vuejs.org/guide/events.html
248248
249249
***
250250

src/guide/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ vm.selected.number // -> 123
349349

350350
***
351351

352-
> 原文:http://rc.vuejs.org/guide/forms.html
352+
> 原文:http://vuejs.org/guide/forms.html
353353
354354
***
355355

src/guide/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,3 +339,9 @@ var app7 = new Vue({
339339
## 准备好探索更广阔的世界了?
340340

341341
我们刚才简单介绍了 Vue.js 核心的一些最基本的特征 - 本指南的其余部分将用更详尽的篇幅去描述其他的一些高级特性,所以一定要阅读完所有的内容哦!
342+
343+
***
344+
345+
> 原文:http://vuejs.org/guide/index.html
346+
347+
***

src/guide/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ $ bower install vue
113113

114114
***
115115

116-
> 原文:http://rc.vuejs.org/guide/installation.html
116+
> 原文:http://vuejs.org/guide/installation.html
117117
118118
***

src/guide/instance.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ var myComponentInstance = new MyComponent()
3232
尽管可以命令式地创建扩展实例,不过在多数情况下将组件构造器注册为一个自定义元素,然后声明式地用在模板中。我们将在后面详细说明[组件系统](/components.md)。现在你只需知道所有的 Vue.js 组件其实都是被扩展的 Vue 实例。
3333

3434

35-
## Properties and Methods
35+
## 属性和方法
36+
37+
38+
每个 Vue 实例 **代理** 所有属性都在 `data` 对象中:
3639

37-
Each Vue instance **proxies** all the properties found in its `data` object:
3840

3941
## 属性与方法
4042

@@ -77,10 +79,9 @@ vm.$watch('a', function (newVal, oldVal) {
7779
})
7880
```
7981

82+
<p class="tip">注意, 不要再实例实现中或者回调函数中(如 `vm.$watch('a', newVal => this.myMethod())`)使用箭头函数。原因是箭头函数绑定父上下文,所以 `this` 不会像预想的一样是 Vue 实例, 而是 `this.myMethod` 未被定义。</p>
8083

81-
<p class="tip">Note that __you should not use arrow functions on an instance property or callback__ (e.g. `vm.$watch('a', newVal => this.myMethod())`). The reason is arrow functions bind the parent context, so `this` will not be the Vue instance as you expect and `this.myMethod` will be undefined.</p>
82-
83-
Consult the [API reference](/api) for the full list of instance properties and methods.
84+
实例属性和方法的完整列表中查阅 [API 参考](/api)
8485

8586
## 实例生命周期
8687

@@ -112,7 +113,7 @@ var vm = new Vue({
112113

113114
***
114115

115-
> 原文: http://rc.vuejs.org/guide/instance.html
116+
> 原文: http://vuejs.org/guide/instance.html
116117
117118
***
118119

src/guide/join.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,9 @@ Vue 已经在全球范围内传播开来,核心团队甚至来自于至少 6
5050
我希望现在,你正在用你偏爱的语言阅读这个句子。如果不是,你愿意帮我们实现它吗?
5151

5252
如果你愿意的话,请随时为[这些文档](https://github.com/vuejs/vuejs.org/),或者官方维护的其他文档 fork 这个仓库,然后开始翻译吧。一旦你取得了一些进展,请在主仓库开一个 issue 或者 pull request,我们将号召更多的贡献者来帮助你。
53+
54+
***
55+
56+
> 原文: http://vuejs.org/guide/join.html
57+
58+
***

src/guide/list.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,3 +440,9 @@ methods: {
440440
}
441441
}
442442
```
443+
444+
***
445+
446+
> 原文: http://vuejs.org/guide/list.html
447+
448+
***

src/guide/migration-vue-router.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,3 +478,9 @@ methods: {
478478
<p>Run the <a href="https://github.com/vuejs/vue-migration-helper">migration helper</a> on your codebase to find examples of the <code>$loadingRouteData</code> meta property.</p>
479479
</div>
480480
{% endraw %}
481+
482+
***
483+
484+
> 原文: http://vuejs.org/guide/migration-vue-router.html
485+
486+
***

src/guide/migration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,3 +1543,9 @@ A benefit of functional components over partials is that they can be much more d
15431543
<p>Run the <a href="https://github.com/vuejs/vue-migration-helper">migration helper</a> on your codebase to find examples of <code>Vue.partial</code>.</p>
15441544
</div>
15451545
{% endraw %}
1546+
1547+
***
1548+
1549+
> 原文: http://vuejs.org/guide/migration.html
1550+
1551+
***

src/guide/mixins.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,9 @@ Vue.config.optionMergeStrategies.vuex = function (toVal, fromVal) {
140140
}
141141
}
142142
```
143+
144+
***
145+
146+
> 原文: http://vuejs.org/guide/mixins.html
147+
148+
***

src/guide/plugins.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,10 @@ Vue.use(VueRouter)
7979
```
8080

8181
Checkout [awesome-vue](https://github.com/vuejs/awesome-vue#libraries--plugins) for a huge collection of community-contributed plugins and libraries.
82+
83+
84+
***
85+
86+
> 原文: http://vuejs.org/guide/plugins.html
87+
88+
***

src/guide/reactivity.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,9 @@ Vue.component('example', {
290290
}
291291
})
292292
```
293+
294+
***
295+
296+
> 原文: http://vuejs.org/guide/reactivity.html
297+
298+
***

src/guide/render-function.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,3 +495,9 @@ console.error = function (error) {
495495
}
496496
</style>
497497
{% endraw %}
498+
499+
***
500+
501+
> 原文: http://vuejs.org/guide/render-function.html
502+
503+
***

src/guide/routing.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ new Vue({
4040
## 整合第三方路由
4141

4242
如果有非常喜欢的第三方路由,如[Page.js](https://github.com/visionmedia/page.js)或者 [Director](https://github.com/flatiron/director), 整合[很简单](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/compare/master...pagejs). 这有个 [复杂示例](https://github.com/chrisvfritz/vue-2.0-simple-routing-example/tree/pagejs) 用了Page.js.
43+
44+
***
45+
46+
> 原文: http://vuejs.org/guide/routing.html
47+
48+
***

src/guide/single-file-components.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,9 @@ NODE_ENV=production browserify -g envify -e main.js | uglifyjs -c -m > build.js
9898
``` bash
9999
NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o build.css ] -e main.js | uglifyjs -c -m > build.js
100100
```
101+
102+
***
103+
104+
> 原文: http://vuejs.org/guide/single-file-components.html
105+
106+
***

src/guide/ssr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ Vue.component({
330330
- [vue-server-renderer 文档](https://www.npmjs.com/package/vue-server-renderer#api):更多细节在这里,和更多先进的主题一起的文档。 例如 [preventing cross-request contamination](https://www.npmjs.com/package/vue-server-renderer#why-use-bundlerenderer)[添加独立的服务构建](https://www.npmjs.com/package/vue-server-renderer#creating-the-server-bundle)
331331
- [vue-hackernews-2.0](https://github.com/vuejs/vue-hackernews-2.0): 明确整合了 所有主要的Vue库和概念在单个应用中
332332

333-
--------------------------------------------------------------------------------
333+
***
334334

335-
> 原文: http://rc.vuejs.org/guide/ssr.html
335+
> 原文: http://vuejs.org/guide/ssr.html
336336
337337
***

src/guide/state-management.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,9 @@ var vmB = new Vue({
7676
接着我们继续延伸约定,组件不允许直接修改属于 store 实例的 state,而是应该使用分发 (dispatch) 事件通知 store 执行 action 作为替代,我们最终达成了 [Flux](https://facebook.github.io/flux/) 架构。这样约定的好处是,我们能够记录所有 store 中发生的 state 改变,同时实现能做到记录变更 (mutation) 、保存状态快照、历史回滚/时光旅行的先进的调试工具。
7777

7878
[vuex](https://github.com/vuejs/vuex) 给我们带来了整个循环机制,如果你读了这么久,不妨去尝试一下它!
79+
80+
***
81+
82+
> 原文: http://vuejs.org/guide/state-management.html
83+
84+
***

src/guide/syntax.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,9 @@ The `v-` prefix serves as a visual cue for identifying Vue-specific attributes i
183183
```
184184

185185
They may look a bit different from normal HTML, but `:` and `@` are valid chars for attribute names and all Vue.js supported browsers can parse it correctly. In addition, they do not appear in the final rendered markup. The shorthand syntax is totally optional, but you will likely appreciate it when you learn more about its usage later.
186+
187+
***
188+
189+
> 原文: http://vuejs.org/guide/syntax.html
190+
191+
***

src/guide/transitioning-state.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,9 @@ new Vue({
527527

528528
我们能在组件中结合使用这一节讲到各种过渡策略和 Vue [内建的过渡系统](transitions.html)。总之,对于完成各种过渡动效几乎没有阻碍。
529529

530+
***
531+
532+
> 原文: http://vuejs.org/guide/transitioning-state.html
533+
534+
***
535+

src/guide/transitions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ new Vue({
16741674

16751675
***
16761676

1677-
> 原文:http://rc.vuejs.org/guide/transitions.html
1677+
> 原文:http://vuejs.org/guide/transitions.html
16781678
16791679
***
16801680

src/guide/unit-testing.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,9 @@ it('updates the rendered message when vm.message updates', done => {
129129
```
130130

131131
我们计划做一个通用的测试工具集,让不同策略的渲染输出(例如忽略子组件的基本渲染)和断言变得更简单。
132+
133+
***
134+
135+
> 原文: http://vuejs.org/guide/unit-testing.html
136+
137+
***

0 commit comments

Comments
 (0)