]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove superfluous code (#5683)
authorzhoulixiang <18366276315@163.com>
Wed, 13 Apr 2022 09:30:22 +0000 (17:30 +0800)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 09:30:22 +0000 (05:30 -0400)
packages/runtime-dom/src/modules/events.ts

index 51544dedf4987aa2544185c339a2cddb17866fd2..ecb6f113bde4f26b3978f4c308646d2961e0b852 100644 (file)
@@ -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]