]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix comments referencing renamed file [ci skip] (#404)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Mon, 28 Oct 2019 16:04:04 +0000 (17:04 +0100)
committerEvan You <yyx990803@gmail.com>
Mon, 28 Oct 2019 16:04:04 +0000 (12:04 -0400)
packages/compiler-core/src/transforms/vBind.ts
packages/compiler-core/src/transforms/vOn.ts

index 5f17714c31825e1d6dcc9e73e5e82191aa24796a..39582af5ccd66039d956ff5958393819e4f864bc 100644 (file)
@@ -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) => {
index 5f5af20f69b50ad969d6fe583b9844a40db7aad2..2e5b3b9c0be07bd3f04a2a04fceadd301ec1627a 100644 (file)
@@ -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