Skip to content

Commit 5900f10

Browse files
committed
change code style
1 parent e98ee4d commit 5900f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/runtime-dom/src/modules/events.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ function parseName(name: string): [string, EventListenerOptions | undefined] {
9696
options = {}
9797
let m
9898
while ((m = name.match(optionsModifierRE))) {
99-
name = name.slice(0, name.length - m[0].length);
100-
(options as any)[m[0].toLowerCase()] = true
99+
name = name.slice(0, name.length - m[0].length)
100+
;(options as any)[m[0].toLowerCase()] = true
101101
}
102102
}
103103
return [hyphenate(name.slice(2)), options]

0 commit comments

Comments
 (0)