We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3248102 + 12005ad commit 742c92cCopy full SHA for 742c92c
src/compiler/compile.js
@@ -587,11 +587,10 @@ function checkTerminalDirectives (el, options) {
587
var value, dirName
588
for (var i = 0, l = terminalDirectives.length; i < l; i++) {
589
dirName = terminalDirectives[i]
590
- /* eslint-disable no-cond-assign */
591
- if (value = el.getAttribute('v-' + dirName)) {
+ value = el.getAttribute('v-' + dirName)
+ if (value != null) {
592
return makeTerminalNodeLinkFn(el, dirName, value, options)
593
}
594
- /* eslint-enable no-cond-assign */
595
596
597
0 commit comments