Skip to content

Add location to import styles#26

Open
nklhtv wants to merge 2 commits into
cfware:masterfrom
nklhtv:patch-1
Open

Add location to import styles#26
nklhtv wants to merge 2 commits into
cfware:masterfrom
nklhtv:patch-1

Conversation

@nklhtv

@nklhtv nklhtv commented Aug 5, 2022

Copy link
Copy Markdown

Uses self for worker context support.
I use the baseURI API in a script that runs in a worker thread, but for that purpose I had to shim the document because it is not available in a worker scope.
Also self.location executed in a worker scope is immutable.

Nikola Hristov added 2 commits August 5, 2022 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant