Skip to content
Snippets Groups Projects
user avatar
Timo Nachstedt authored
To allow for user agents which contain "electron" within their name but do not run within a node.js context, we need to check if the process object is defined at all before accessing its properties.

In particular, this is required to run diagrams.net within a Visual Studio Code webview extension.
b31e126b
History
Name Last commit Last update