8000 Merge pull request #8 from lengband/master · vueComponent/vue-dash-event@3b7e480 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3b7e480

Browse files
authored
Merge pull request #8 from lengband/master
fix: add needless execute
2 parents fe6f49c + 1376ec1 commit 3b7e480

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ dashEvent.install = function (Vue) {
3030
!cacheLowerCaseEvent[fnName] &&
3131
(cache[fnName] || hyphenateRE.test(fnName))
3232
) {
33-
_emit.call(this, fnName, ...params)
3433
_emit.call(this, hyphenate(fnName), ...params)
3534
} else {
3635
cacheLowerCaseEvent[fnName] = fnName
37-
_emit.call(this, fnName, ...params)
3836
}
37+
_emit.call(this, fnName, ...params)
3938
}
4039
}
4140

0 commit comments

Comments
 (0)
0