From: Rustin <1196089730@qq.com> Date: Tue, 26 Nov 2019 08:26:03 +0000 (+0800) Subject: chore: fix comment typo (#499) X-Git-Tag: v3.0.0-alpha.0~149 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5f4cc9c42b6bc68fd7ba62e74245cff62c5eec3;p=thirdparty%2Fvuejs%2Fcore.git chore: fix comment typo (#499) * chore(typo): fix comment typo * chore(typo): fix comment typo of KeepAlive --- diff --git a/packages/runtime-core/src/components/BaseTransition.ts b/packages/runtime-core/src/components/BaseTransition.ts index 34403cfc14..4f4961b023 100644 --- a/packages/runtime-core/src/components/BaseTransition.ts +++ b/packages/runtime-core/src/components/BaseTransition.ts @@ -28,9 +28,9 @@ export interface BaseTransitionProps { // injected hooks (e.g. v-show). persisted?: boolean - // Hooks. Using camel casef for easier usage in render functions & JSX. + // Hooks. Using camel case for easier usage in render functions & JSX. // In templates these can be written as @before-enter="xxx" as prop names - // are camelized + // are camelized. onBeforeEnter?: (el: any) => void onEnter?: (el: any, done: () => void) => void onAfterEnter?: (el: any) => void diff --git a/packages/runtime-core/src/components/KeepAlive.ts b/packages/runtime-core/src/components/KeepAlive.ts index 10c6389120..3d76113b0f 100644 --- a/packages/runtime-core/src/components/KeepAlive.ts +++ b/packages/runtime-core/src/components/KeepAlive.ts @@ -67,7 +67,7 @@ const KeepAliveImpl = { // KeepAlive communicates with the instantiated renderer via the "sink" // where the renderer passes in platform-specific functions, and the - // KeepAlivei instance expses activcate/decativate implementations. + // KeepAlive instance exposes activate/deactivate implementations. // The whole point of this is to avoid importing KeepAlive directly in the // renderer to facilitate tree-shaking. const sink = instance.sink as KeepAliveSink