Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bootprefix: Tighten browser check to include the document global (#8423)
Deno's node emulation can run TiddlyWiki now that it supports the VM isolates API, but the window global exists in that environment, so both browser and node were being detected, causing the autoboot to trip up on nonexistent argv, as the boot was happening in the constructor right before argv was set. Ref: denoland/deno#19286 Ref: https://github.com/flexdinesh/browser-or-node
- Loading branch information