Skip to content

Commit 101ea96

Browse files
committed
Fix compile
1 parent f48f839 commit 101ea96

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

api-reports/2_12.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24057,6 +24057,7 @@ SharedWorker[JC] var onerror: js.Function1[ErrorEvent, _]
2405724057
SharedWorker[JC] def port: MessagePort
2405824058
SharedWorker[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
2405924059
SharedWorker[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
24060+
SharedWorker[SO]
2406024061
SharedWorkerGlobalScope[JO] def self: SharedWorkerGlobalScope
2406124062
SharedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
2406224063
SharedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit

api-reports/2_13.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24057,6 +24057,7 @@ SharedWorker[JC] var onerror: js.Function1[ErrorEvent, _]
2405724057
SharedWorker[JC] def port: MessagePort
2405824058
SharedWorker[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
2405924059
SharedWorker[JC] def removeEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit
24060+
SharedWorker[SO]
2406024061
SharedWorkerGlobalScope[JO] def self: SharedWorkerGlobalScope
2406124062
SharedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], options: EventListenerOptions): Unit
2406224063
SharedWorkerGlobalScope[JT] def addEventListener[T <: Event](`type`: String, listener: js.Function1[T, _], useCapture: Boolean?): Unit

dom/src/main/scala/org/scalajs/dom/SharedWorker.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package org.scalajs.dom
22

33
import scala.scalajs.js
44
import scala.scalajs.js.annotation._
5-
import scala.scalajs.js.|
65

76
/** The SharedWorker interface represents a specific kind of worker that can be accessed from several browsing contexts,
87
* such as several windows, iframes or even workers. They implement an interface different than dedicated workers and
@@ -35,3 +34,5 @@ class SharedWorker(scriptURL: String) extends AbstractWorker {
3534
*/
3635
def port: MessagePort = js.native
3736
}
37+
38+
object SharedWorker

0 commit comments

Comments
 (0)