Skip to content

Change passive checker to use defineProperty#15121

Merged
trueadm merged 1 commit into
react:masterfrom
trueadm:use-definte-property
Mar 15, 2019
Merged

Change passive checker to use defineProperty#15121
trueadm merged 1 commit into
react:masterfrom
trueadm:use-definte-property

Conversation

@trueadm

@trueadm trueadm commented Mar 15, 2019

Copy link
Copy Markdown
Contributor

This converts the passive check to use defineProperty so that this works in older browsers that do not support newer syntax.

@gaearon gaearon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls verify this doesn't accidentally break feature test somehow

@trueadm

trueadm commented Mar 15, 2019

Copy link
Copy Markdown
Contributor Author

Validated it still works as intended.

@trueadm trueadm merged commit 035e4cf into react:master Mar 15, 2019
@trueadm trueadm deleted the use-definte-property branch March 15, 2019 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants