Skip to content

Commit

Permalink
bootprefix: Tighten browser check to include the document global (#8423)
Browse files Browse the repository at this point in the history
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
valpackett authored Jul 26, 2024
1 parent 9069992 commit 886514a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/bootprefix.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 886514a

Please sign in to comment.