Skip to content

Commit 6ec80d5

Browse files
committed
Drop unused var
1 parent 981366d commit 6ec80d5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/dom/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ export function setAccessor(node, name, value) {
103103
* @private
104104
*/
105105
function eventProxy(e) {
106-
let fn = this._listeners[normalizeEventName(e.type)];
107-
if (fn) return fn(optionsHook('event', e) || e);
106+
return this._listeners[normalizeEventName(e.type)](optionsHook('event', e) || e);
108107
}
109108

110109

@@ -129,5 +128,3 @@ export function getRawNodeAttributes(node) {
129128
while (i--) attrs[list[i].name] = list[i].value;
130129
return attrs;
131130
}
132-
133-

0 commit comments

Comments
 (0)