chore: remove superfluous code (#5683)
This commit is contained in:
parent
fa1d14c2c8
commit
57ca32b096
@ -98,7 +98,6 @@ function parseName(name: string): [string, EventListenerOptions | undefined] {
|
|||||||
while ((m = name.match(optionsModifierRE))) {
|
while ((m = name.match(optionsModifierRE))) {
|
||||||
name = name.slice(0, name.length - m[0].length)
|
name = name.slice(0, name.length - m[0].length)
|
||||||
;(options as any)[m[0].toLowerCase()] = true
|
;(options as any)[m[0].toLowerCase()] = true
|
||||||
options
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [hyphenate(name.slice(2)), options]
|
return [hyphenate(name.slice(2)), options]
|
||||||
|
Loading…
Reference in New Issue
Block a user