Skip to content

Commit

Permalink
self does not yet exist within the Worklet contexts.
Browse files Browse the repository at this point in the history
  • Loading branch information
yilinwei committed Nov 16, 2023
1 parent 42275a7 commit 0e90800
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ trait AudioWorkletGlobalScope extends WorkletGlobalScope {
@js.native
@JSGlobalScope
object AudioWorkletGlobalScope extends js.Object {
def self: AudioWorkletGlobalScope = js.native
/** See issue https://github.com/whatwg/html/issues/6059 */
def globalThis: AudioWorkletGlobalScope = js.native
}

0 comments on commit 0e90800

Please sign in to comment.