Skip to content

Commit

Permalink
Passes constructor args along
Browse files Browse the repository at this point in the history
  • Loading branch information
kj committed Oct 12, 2023
1 parent 1f909da commit 25cd106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import morphdom from "morphdom"

const MorphdomMixin = (superclass) => class extends superclass {
constructor() {
super()
constructor(args) {
super(args)
this.process = this.process.bind(this)
}

Expand Down

0 comments on commit 25cd106

Please sign in to comment.