From 0b31647c41b0c916d40b962723b1de06672d0e01 Mon Sep 17 00:00:00 2001 From: Husam Ibrahim <39692071+HusamIbrahim@users.noreply.github.com> Date: Sat, 1 Dec 2018 08:29:37 +0300 Subject: [PATCH] chore: fix grammar in core/observer/index.js comments (#9116) --- src/core/observer/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/observer/index.js b/src/core/observer/index.js index b9ef4b8a..545adb64 100644 --- a/src/core/observer/index.js +++ b/src/core/observer/index.js @@ -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 */