Преглед на файлове

chore: fix comments referencing renamed file [ci skip] (#404)

Cédric Exbrayat преди 6 години
родител
ревизия
36b7e4e52e
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      packages/compiler-core/src/transforms/vBind.ts
  2. 1 1
      packages/compiler-core/src/transforms/vOn.ts

+ 1 - 1
packages/compiler-core/src/transforms/vBind.ts

@@ -4,7 +4,7 @@ import { createCompilerError, ErrorCodes } from '../errors'
 import { camelize } from '@vue/shared'
 import { CAMELIZE } from '../runtimeHelpers'
 
-// v-bind without arg is handled directly in ./element.ts due to it affecting
+// v-bind without arg is handled directly in ./transformElements.ts due to it affecting
 // codegen for the entire props object. This transform here is only for v-bind
 // *with* args.
 export const transformBind: DirectiveTransform = (dir, node, context) => {

+ 1 - 1
packages/compiler-core/src/transforms/vOn.ts

@@ -16,7 +16,7 @@ import { isMemberExpression, hasScopeRef } from '../utils'
 const fnExpRE = /^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/
 
 export interface VOnDirectiveNode extends DirectiveNode {
-  // v-on without arg is handled directly in ./element.ts due to it affecting
+  // v-on without arg is handled directly in ./transformElements.ts due to it affecting
   // codegen for the entire props object. This transform here is only for v-on
   // *with* args.
   arg: ExpressionNode