forked from tsayen/dom-to-image
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better scope fallback for Node/global/window
Manually implemented a better fallback from PR #134 This is intended to help with running in non-browser environments like Node and Vite. Bumped dev-time packages. Also moved the ensureSandboxWindow method out one layer in preparation for upcoming PR #135 for pruning.
- Loading branch information
1 parent
2562a0a
commit 12003de
Showing
6 changed files
with
131 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.