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

Replaced Object.keys(...) by Object.getOwnPropertyNames(...) #229

Merged
merged 1 commit into from
Nov 23, 2016
Merged

Replaced Object.keys(...) by Object.getOwnPropertyNames(...) #229

merged 1 commit into from
Nov 23, 2016

Conversation

gauthierj
Copy link

Hi,

We replaced Object.keys(...) by Object.getOwnPropertyNames(...) because it's safer and has same browser support.

It's safer because it will only retrieves index of the NodeList, and not methods. it is no longer needed to filter the output.

We did this because we encountered a problem in regard with this.

Best regards,

Gauthier JACQUES

@wwayne
Copy link
Collaborator

wwayne commented Nov 23, 2016

@gauthierj Thanks for your modification and explanation : )

@wwayne wwayne merged commit 6a22405 into ReactTooltip:master Nov 23, 2016
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

Successfully merging this pull request may close these issues.

2 participants