Skip to content

Commit c2f748c

Browse files
committed
refactor: remove comment
1 parent 5823dc8 commit c2f748c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@ class Pluggable<Instance = DOMWrapper<Element>> {
5050
Object.entries(setupResult).forEach(bindProperty)
5151
}
5252

53-
// this.installedPlugins.map(invokeSetup).forEach(addAllPropertiesFromSetup)
54-
this.installedPlugins
55-
.map((plugin) => {
56-
return invokeSetup({ handler: plugin.handler, options: plugin.options })
57-
})
58-
.forEach(addAllPropertiesFromSetup)
53+
this.installedPlugins.map(invokeSetup).forEach(addAllPropertiesFromSetup)
5954
}
6055

6156
/** For testing */

0 commit comments

Comments
 (0)