]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: typos [ci-skip] (#323)
authorCarlos Rodrigues <david-181@hotmail.com>
Thu, 17 Oct 2019 19:01:51 +0000 (20:01 +0100)
committerEvan You <yyx990803@gmail.com>
Thu, 17 Oct 2019 19:01:51 +0000 (15:01 -0400)
packages/compiler-core/src/errors.ts
packages/compiler-dom/__tests__/transforms/vOn.spec.ts
packages/compiler-dom/src/transforms/vModel.ts
packages/compiler-dom/src/transforms/vOn.ts
packages/runtime-test/__tests__/testRuntime.spec.ts

index ebd113c5831ea50323106f8e6f96ff9ba66c92c4..3a9e3469ee6c0e3c5132ab08763faf5e3fd6c7f6 100644 (file)
@@ -88,7 +88,7 @@ export const enum ErrorCodes {
   X_PREFIX_ID_NOT_SUPPORTED,
   X_MODULE_MODE_NOT_SUPPORTED,
 
-  // Sepcial value for higher-order compilers to pick up the last code
+  // Special value for higher-order compilers to pick up the last code
   // to avoid collision of error codes. This should always be kept as the last
   // item.
   __EXTEND_POINT__
index e0e75d93ee4ac32f0bb7b5fc309dd628357f5526..ac8bec7802faaf02f36774094e7c2dba8e4fbf82 100644 (file)
@@ -31,7 +31,7 @@ function parseVOnProperties(
 }
 
 describe('compiler-dom: transform v-on', () => {
-  it('should support muliple modifiers w/ prefixIdentifiers: true', () => {
+  it('should support multiple modifiers w/ prefixIdentifiers: true', () => {
     const [prop] = parseVOnProperties(`<div @click.stop.prevent="test"/>`, {
       prefixIdentifiers: true
     })
index 75abf3887e82ff4bd1ef9afd84323cac9707537f..79d1b8aeae24fa12930217a801abb808f2ee87a8 100644 (file)
@@ -66,7 +66,7 @@ export const transformModel: DirectiveTransform = (dir, node, context) => {
       }
       // inject runtime directive
       // by returning the helper symbol via needRuntime
-      // the import will replaced a resovleDirective call.
+      // the import will replaced a resolveDirective call.
       if (!isInvalidType) {
         baseResult.needRuntime = context.helper(directiveToUse)
       }
index 7b89059b9bcd5fb9a971cfac4a9fc8d5226a627a..b817611d0e2ef02d61f6c0817c09135cd054f8c0 100644 (file)
@@ -16,7 +16,7 @@ const isEventOptionModifier = /*#__PURE__*/ makeMap(`passive,once,capture`)
 const isNonKeyModifier = /*#__PURE__*/ makeMap(
   // event propagation management
   `stop,prevent,self,` +
-    // system modifers + exact
+    // system modifiers + exact
     `ctrl,shift,alt,meta,exact,` +
     // mouse
     `left,middle,right`
index 22a813cbaa58c677f8be6aabf738b1ad03cb729a..ce98d4d5ab0ccd60e505a236d9c99dc868a31fe4 100644 (file)
@@ -173,7 +173,7 @@ describe('test renderer', () => {
     expect(serialize(root)).toBe(`<div><span>1</span></div>`)
   })
 
-  it('should be able to trigger events with muliple listeners', async () => {
+  it('should be able to trigger events with multiple listeners', async () => {
     const count = ref(0)
     const count2 = ref(1)