chore: fix grammar in core/observer/index.js comments (#9116)

This commit is contained in:
Husam Ibrahim 2018-12-01 08:29:37 +03:00 committed by Evan You
parent 0d62bb84ff
commit 0b31647c41

View File

@ -37,7 +37,7 @@ export function toggleObserving (value: boolean) {
export class Observer {
value: any;
dep: Dep;
vmCount: number; // number of vms that has this object as root $data
vmCount: number; // number of vms that have this object as root $data
constructor (value: any) {
this.value = value
@ -57,7 +57,7 @@ export class Observer {
}
/**
* Walk through each property and convert them into
* Walk through all properties and convert them into
* getter/setters. This method should only be called when
* value type is Object.
*/
@ -81,7 +81,7 @@ export class Observer {
// helpers
/**
* Augment an target Object or Array by intercepting
* Augment a target Object or Array by intercepting
* the prototype chain using __proto__
*/
function protoAugment (target, src: Object) {
@ -91,7 +91,7 @@ function protoAugment (target, src: Object) {
}
/**
* Augment an target Object or Array by defining
* Augment a target Object or Array by defining
* hidden properties.
*/
/* istanbul ignore next */