Skip to content

Commit 49cd876

Browse files
committed
chore(vue-template-lexer): modify computed properties misunderstanding comments
1 parent 203c392 commit 49cd876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lexers/vue-template-lexer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default class VueTemplateLexer extends HTMLLexer {
3535
(item) => item.name.startsWith(':') || item.name.startsWith('v-bind:')
3636
)
3737
if (attributes.length > 0) {
38-
// there are calculation attributes.
38+
// there are computed properties, it may have simple javascript logic
3939
attributes.forEach((content) => {
4040
const items = jsLexer.extract(content.value, filename)
4141
keys.push(...items)

0 commit comments

Comments
 (0)