We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
makeIdsUnique()
Since we are not using the ònlyReferencedIds parameter anymore (or always set it to false), the function makeIdsUnique() can be simplified.
the ònlyReferencedIds
Also, the variable referencedIds is declared as an array in function makeIdsUnique().in line160.
referencedIds
var referencedIds = onlyReferenced ? [] : NULL;
This would not work anyways, because it is populated with the elements' id as the key:
referencedIds[id] = 1;
So let's remove the parameter and make the function makeIdsUnique() a litte bit smaller.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Since we are not using
the ònlyReferencedIds
parameter anymore (or always set it to false), the functionmakeIdsUnique()
can be simplified.Also, the variable
referencedIds
is declared as an array in functionmakeIdsUnique()
.in line160.This would not work anyways, because it is populated with the elements' id as the key:
So let's remove the parameter and make the function
makeIdsUnique()
a litte bit smaller.The text was updated successfully, but these errors were encountered: