From d6852c566958d32f45d6fbca3e2179fcbbe965a2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 25 Sep 2019 07:30:14 -0400 Subject: [PATCH] chore: fix comment --- packages/compiler-core/src/transforms/vBindClass.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-core/src/transforms/vBindClass.ts b/packages/compiler-core/src/transforms/vBindClass.ts index e785858d..d5392cfb 100644 --- a/packages/compiler-core/src/transforms/vBindClass.ts +++ b/packages/compiler-core/src/transforms/vBindClass.ts @@ -1,5 +1,5 @@ // Optimizations -// - b -> normalize(b) +// - b -> b (use runtime normalization) // - ['foo', b] -> 'foo' + normalize(b) // - { a, b: c } -> (a ? a : '') + (b ? c : '') // - ['a', b, { c }] -> 'a' + normalize(b) + (c ? c : '')