Skip to content

Commit 1620621

Browse files
author
Evan You
committed
delegate on binding.compiler
1 parent aa3452f commit 1620621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/directives/on.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
// so they can't be delegated
1010
this.bubbles = this.arg !== 'blur' && this.arg !== 'focus'
1111
if (this.bubbles) {
12-
this.compiler.addListener(this)
12+
this.binding.compiler.addListener(this)
1313
}
1414
},
1515

@@ -37,7 +37,7 @@ module.exports = {
3737

3838
unbind: function () {
3939
if (this.bubbles) {
40-
this.compiler.removeListener(this)
40+
this.binding.compiler.removeListener(this)
4141
} else {
4242
this.reset()
4343
}

0 commit comments

Comments
 (0)