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

A problem with group names that are also property names of Object.prototype #23

Closed
vam opened this issue Jul 15, 2016 · 0 comments
Closed

A problem with group names that are also property names of Object.prototype #23

vam opened this issue Jul 15, 2016 · 0 comments
Assignees
Labels
bug
Milestone

Comments

@vam
Copy link

@vam vam commented Jul 15, 2016

the line in internals.Topo.prototype._sort:

groups[group] = groups[group] || [];

should be:

groups[group] = groups.hasOwnProperty(group) ? groups[group] : [];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.