Skip to content

Commit 618bc78

Browse files
committed
scala3 compilation fix (ambiguous reference)
1 parent ad7f745 commit 618bc78

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/core/src/main/scala/io/laminext/core/MutationObserverBinders.scala

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ class MutationObserverBinders(
2020
) { self =>
2121

2222
private def init = new MutationObserverInit {
23-
childList = self.childList
24-
attributes = self.attributes
25-
characterData = self.characterData
26-
subtree = self.subtree
27-
attributeOldValue = self.attributeOldValue
28-
characterDataOldValue = self.characterDataOldValue
29-
attributeFilter = self.attributeFilter
23+
this.childList = self.childList
24+
this.attributes = self.attributes
25+
this.characterData = self.characterData
26+
this.subtree = self.subtree
27+
this.attributeOldValue = self.attributeOldValue
28+
this.characterDataOldValue = self.characterDataOldValue
29+
this.attributeFilter = self.attributeFilter
3030
}
3131

3232
@inline def -->[El <: ReactiveElement[org.scalajs.dom.HTMLElement]](sink: Sink[Seq[MutationRecord]]): BinderWithStartStop[El] = {

0 commit comments

Comments
 (0)