]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo (#764) [ci skip]
authordjy0 <krivergo3@gmail.com>
Mon, 24 Feb 2020 17:01:26 +0000 (01:01 +0800)
committerGitHub <noreply@github.com>
Mon, 24 Feb 2020 17:01:26 +0000 (18:01 +0100)
CHANGELOG.md
packages/compiler-core/src/transforms/hoistStatic.ts
packages/runtime-core/src/renderer.ts
packages/shared/src/patchFlags.ts

index 4998dfd75470f7067d68d5df35499187039dadb7..8f7b4c8f330ecaff0577b0ce17be725790cbc021 100644 (file)
@@ -6,7 +6,7 @@
 * **compiler-core:** should alias name in helperString ([#743](https://github.com/vuejs/vue-next/issues/743)) ([7b987d9](https://github.com/vuejs/vue-next/commit/7b987d9450fc7befcd0946a0d53991d27ed299ec)), closes [#740](https://github.com/vuejs/vue-next/issues/740)
 * **compiler-dom:** properly stringify class/style bindings when hoisting static strings ([1b9b235](https://github.com/vuejs/vue-next/commit/1b9b235663b75db040172d2ffbee1dd40b4db032))
 * **reactivity:** should trigger all effects when array length is mutated ([#754](https://github.com/vuejs/vue-next/issues/754)) ([5fac655](https://github.com/vuejs/vue-next/commit/5fac65589b4455b98fd4e2f9eb3754f0acde97bb))
-* **sfc:** inherit parent scopeId on child rooot ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe))
+* **sfc:** inherit parent scopeId on child root ([#756](https://github.com/vuejs/vue-next/issues/756)) ([9547c2b](https://github.com/vuejs/vue-next/commit/9547c2b93d6d8f469314cfe055960746a3e3acbe))
 * **types:** improve ref typing, close [#759](https://github.com/vuejs/vue-next/issues/759) ([627b9df](https://github.com/vuejs/vue-next/commit/627b9df4a293ae18071009d9cac7a5e995d40716))
 * **types:** update setup binding unwrap types for 6b10f0c ([a840e7d](https://github.com/vuejs/vue-next/commit/a840e7ddf0b470b5da27b7b2b8b5fcf39a7197a2)), closes [#738](https://github.com/vuejs/vue-next/issues/738)
 
     instead of moving it (see #737).
 
     Ensuring correct behavior for all possible Array methods while
-    retaining the ref unwrapping behavior is exceedinly complicated; In
+    retaining the ref unwrapping behavior is exceedingly complicated; In
     addition, even if Vue handles the built-in methods internally, it
     would still break when the user attempts to use a 3rd party utility
-    functioon (e.g. lodash) on a reactive array containing refs.
+    function (e.g. lodash) on a reactive array containing refs.
 
     After this commit, similar to other collection types like Map and
     Set, Arrays will no longer automatically unwrap contained refs.
       behaves exactly the same as 2.x.
 
     - When using the effect signature or `{ immediate: true }`, the
-      intital execution is now performed synchronously instead of
+      initial execution is now performed synchronously instead of
       deferred until the component is mounted. This is necessary for
       certain use cases to work properly with `async setup()` and
       Suspense.
index a25691643cf29faa43949b92ef4224bf0920756b..3d2afb6caa429952148f5c2b913c4c896c0b1e23 100644 (file)
@@ -126,9 +126,9 @@ export function isStaticNode(
             return false
           }
         }
-        // only svg/foeignObject could be block here, however if they are static
+        // only svg/foreignObject could be block here, however if they are static
         // then they don't need to be blocks since there will be no nested
-        // udpates.
+        // updates.
         if (codegenNode.isBlock) {
           codegenNode.isBlock = false
         }
index 9d1c2a414a30f0e8968cdf12c42915e43193cdb0..ab5b58cecf234da4f0a7a53c473b2956a257db94 100644 (file)
@@ -128,7 +128,7 @@ export interface RendererInternals<HostNode = any, HostElement = any> {
   c: ProcessTextOrCommentFn<HostNode, HostElement>
 }
 
-// These functions are created inside a closure and therefore there types cannot
+// These functions are created inside a closure and therefore their types cannot
 // be directly exported. In order to avoid maintaining function signatures in
 // two places, we declare them once here and use them inside the closure.
 type PatchFn<HostNode, HostElement> = (
@@ -651,7 +651,6 @@ function baseCreateRenderer<
       // generated by the compiler and can take the fast path.
       // in this path old node and new node are guaranteed to have the same shape
       // (i.e. at the exact same position in the source template)
-
       if (patchFlag & PatchFlags.FULL_PROPS) {
         // element props contain dynamic keys, full diff needed
         patchProps(
index 374a22b5218b19ee6e29dd0e75f444d671596d47..9e499abf71fce2c61f869328e19306c7ac7bd602 100644 (file)
@@ -55,7 +55,7 @@ export const enum PatchFlags {
 
   // Indicates an element that only needs non-props patching, e.g. ref or
   // directives (onVnodeXXX hooks). since every patched vnode checks for refs
-  // and onVnodeXXX hooks, itt simply marks the vnode so that a parent block
+  // and onVnodeXXX hooks, it simply marks the vnode so that a parent block
   // will track it.
   NEED_PATCH = 1 << 9,