Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

'isNode' will now be false in nw.js environment#524

Merged
mhevery merged 1 commit intoangular:masterfrom
adros:fix-nw-isNode
Dec 18, 2016
Merged

'isNode' will now be false in nw.js environment#524
mhevery merged 1 commit intoangular:masterfrom
adros:fix-nw-isNode

Conversation

@adros
Copy link
Copy Markdown
Contributor

@adros adros commented Nov 26, 2016

so 'isBrowser' will be true and 'propertyDescriptorPatch' will be executed correctly

closes #522

so 'isBrowser' will be true and 'propertyDescriptorPatch' will be executed correctly
@JiaLiPassion
Copy link
Copy Markdown
Collaborator

sorry, my earlier suggestion is not corrent, in nw.js or electron, isNode and isBrowser should both be true, so the node related api and browser method can both be patched.

@mhevery mhevery merged commit 486010b into angular:master Dec 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

incorrect environment detection in nw.js

4 participants