]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: update reference to transformExpressions (#2682) [ci skip]
authorDamon Muma <damuma@gmail.com>
Tue, 10 May 2022 01:30:50 +0000 (21:30 -0400)
committerGitHub <noreply@github.com>
Tue, 10 May 2022 01:30:50 +0000 (21:30 -0400)
packages/compiler-dom/src/transforms/stringifyStatic.ts

index e257e3254fe21284ff1b778b63903fae6f8336fa..d2d0b6fe0783f6f819ab34ddb631691959556150 100644 (file)
@@ -330,7 +330,7 @@ function stringifyElement(
 // here, e.g. `{{ 1 }}` or `{{ 'foo' }}`
 // in addition, constant exps bail on presence of parens so you can't even
 // run JSFuck in here. But we mark it unsafe for security review purposes.
-// (see compiler-core/src/transformExpressions)
+// (see compiler-core/src/transforms/transformExpression)
 function evaluateConstant(exp: ExpressionNode): string {
   if (exp.type === NodeTypes.SIMPLE_EXPRESSION) {
     return new Function(`return ${exp.content}`)()