From 70fb68b0b092eaefeb6289f5dea3852b72e7743f Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 22 Nov 2017 17:57:31 -0500 Subject: [PATCH] chore: fix comment typo --- src/core/instance/lifecycle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/instance/lifecycle.js b/src/core/instance/lifecycle.js index 0ac1926e7..9280de9a8 100644 --- a/src/core/instance/lifecycle.js +++ b/src/core/instance/lifecycle.js @@ -193,7 +193,7 @@ export function mountComponent ( } } - // we set this to vm._watcher inside the wathcer's constructor + // we set this to vm._watcher inside the watcher's constructor // since the watcher's initial patch may call $forceUpdate (e.g. inside child // component's mounted hook), which relies on vm._watcher being already defined new Watcher(vm, updateComponent, noop, null, true /* isRenderWatcher */)