-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Since we are not using the ònlyReferencedIds
parameter anymore (or always set it to false), the function makeIdsUnique()
can be simplified.
Also, the variable referencedIds
is declared as an array in function makeIdsUnique()
.in line160.
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request