Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle "nw is undefined" errors when run on the web #88

Closed
nwittwer opened this issue Oct 6, 2018 · 0 comments
Closed

Handle "nw is undefined" errors when run on the web #88

nwittwer opened this issue Oct 6, 2018 · 0 comments

Comments

@nwittwer
Copy link
Collaborator

nwittwer commented Oct 6, 2018

Problem
There are some functions that are specific to NW.js, so when run the web, you'll get an error that nw is undefined. Instead, it should check on load if nw is defined, otherwise ignore it. Progressively enhance with NW.js-specific features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant