Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

use detect-node module due to unreliability of global window variable in some cases#1

Open
charleskoehl wants to merge 2 commits intoTouchInnovation:masterfrom
charleskoehl:master
Open

use detect-node module due to unreliability of global window variable in some cases#1
charleskoehl wants to merge 2 commits intoTouchInnovation:masterfrom
charleskoehl:master

Conversation

@charleskoehl
Copy link

@charleskoehl charleskoehl commented Sep 21, 2017

Detect whether running in node or browser using the ‘detect-is-node’ module, which accounts for the window global being declared through JS DOM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant