Skip to content

Commit 7caf4d6

Browse files
committed
v-bind: include shorthands in disallowed interpolation check
1 parent c670809 commit 7caf4d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directives/public/bind.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var modelProps = {
2121
}
2222

2323
// check for attribtues that prohibit interpolations
24-
var disallowedInterpAttrRE = /^v-|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/
24+
var disallowedInterpAttrRE = /^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/
2525

2626
module.exports = {
2727

0 commit comments

Comments
 (0)