We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MutationObserver
1 parent 3fc3416 commit fae2df5Copy full SHA for fae2df5
Sources/DOMKit/WebIDL/MutationObserver.swift
@@ -17,8 +17,8 @@ public class MutationObserver: JSBridgedClass {
17
18
public convenience init(callback: @escaping MutationCallback) {
19
let closure = JSClosure { callback($0[0].fromJSValue()!, $0[1].fromJSValue()!) }
20
- self.closure = closure
21
self.init(unsafelyWrapping: MutationObserver.constructor.new(closure))
+ self.closure = closure
22
}
23
24
deinit {
0 commit comments