Skip to content

Commit

Permalink
chore: remove superfluous code (#5683)
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-lx committed Apr 13, 2022
1 parent fa1d14c commit 57ca32b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/runtime-dom/src/modules/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ function parseName(name: string): [string, EventListenerOptions | undefined] {
while ((m = name.match(optionsModifierRE))) {
name = name.slice(0, name.length - m[0].length)
;(options as any)[m[0].toLowerCase()] = true
options
}
}
return [hyphenate(name.slice(2)), options]
Expand Down

0 comments on commit 57ca32b

Please sign in to comment.