]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix comment typo (#499)
authorRustin <1196089730@qq.com>
Tue, 26 Nov 2019 08:26:03 +0000 (16:26 +0800)
committerEduardo San Martin Morote <posva@users.noreply.github.com>
Tue, 26 Nov 2019 08:26:03 +0000 (09:26 +0100)
* chore(typo): fix comment typo

* chore(typo): fix comment typo of KeepAlive

packages/runtime-core/src/components/BaseTransition.ts
packages/runtime-core/src/components/KeepAlive.ts

index 34403cfc145851770bb8750f3d82564899216c5e..4f4961b023f3ed60088dfed295de2a7e08854f1e 100644 (file)
@@ -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
index 10c6389120cecbb6c7528cc2d4993bad86652e9e..3d76113b0ffe521cadf998f5122145765b5a548d 100644 (file)
@@ -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