Skip to content

Commit 0b31647

Browse files
HusamElbashiryyx990803
authored andcommitted
chore: fix grammar in core/observer/index.js comments (#9116)
1 parent 0d62bb8 commit 0b31647

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/observer/index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export function toggleObserving (value: boolean) {
3737
export class Observer {
3838
value: any;
3939
dep: Dep;
40-
vmCount: number; // number of vms that has this object as root $data
40+
vmCount: number; // number of vms that have this object as root $data
4141

4242
constructor (value: any) {
4343
this.value = value
@@ -57,7 +57,7 @@ export class Observer {
5757
}
5858

5959
/**
60-
* Walk through each property and convert them into
60+
* Walk through all properties and convert them into
6161
* getter/setters. This method should only be called when
6262
* value type is Object.
6363
*/
@@ -81,7 +81,7 @@ export class Observer {
8181
// helpers
8282

8383
/**
84-
* Augment an target Object or Array by intercepting
84+
* Augment a target Object or Array by intercepting
8585
* the prototype chain using __proto__
8686
*/
8787
function protoAugment (target, src: Object) {
@@ -91,7 +91,7 @@ function protoAugment (target, src: Object) {
9191
}
9292

9393
/**
94-
* Augment an target Object or Array by defining
94+
* Augment a target Object or Array by defining
9595
* hidden properties.
9696
*/
9797
/* istanbul ignore next */

0 commit comments

Comments
 (0)