Skip to content

Commit ad05550

Browse files
authored
Merge pull request #199 from vuejs/master
获取官方文档更新
2 parents 379c7b9 + 58042eb commit ad05550

File tree

5 files changed

+2224
-2111
lines changed

5 files changed

+2224
-2111
lines changed

src/guide/custom-directive.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ A directive definition object can provide several hook functions (all optional):
6161

6262
- `inserted`: called when the bound element has been inserted into its parent node (this only guarantees parent node presence, not necessarily in-document).
6363

64-
- `update`: called whenever the bound element's containing component is updated. The directive's value may or may not have changed. You can skip unnecessary updates by comparing the binding's current and old values (see below on hook arguments).
64+
- `update`: called after the containing component has updated, __but possibly before its children have updated__. The directive's value may or may not have changed, but you can skip unnecessary updates by comparing the binding's current and old values (see below on hook arguments).
6565

66-
- `componentUpdated`: called after the containing component has completed an update cycle.
66+
- `componentUpdated`: called after the containing component __and its children__ have updated.
6767

6868
- `unbind`: called only once, when the directive is unbound from the element.
6969

src/guide/installation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
title: Installation
33
type: guide
44
order: 1
5-
vue_version: 2.0.1
6-
dev_size: "184.49"
7-
min_size: "61.72"
8-
gz_size: "22.58"
5+
vue_version: 2.0.3
6+
dev_size: "188.88"
7+
min_size: "62.54"
8+
gz_size: "22.86"
99
---
1010

1111
### Compatibility Note

themes/vue/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
google_analytics: UA-46852172-1
22
root_domain: vuejs.org
3-
vue_version: 2.0.1
3+
vue_version: 2.0.3

0 commit comments

Comments
 (0)