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

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

Merged
merged 1 commit into from
Dec 18, 2016

Conversation

adros
Copy link
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
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