-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
How does this work in node-webkit
?
I've been under the impression that the only reliable way to get the global object in everything is Function('return this')()
which breaks CSP. Because of eval
, your method also won't pass CSP, sadly.
I'd love to find some truly reliable, non-eval
/non-Function
approach to reliably get the global object. Feel free to close this if that's out of scope for this module.
Metadata
Metadata
Assignees
Labels
No labels