Commit 336f3afc authored by Timmy Willison's avatar Timmy Willison Committed by Mike Bostock
Browse files

Remove redundant Sizzle.uniqueSort call

parent defe5bc8
......@@ -500,7 +500,7 @@
return Sizzle(s, n)[0] || null;
};
d3_selectAll = function(s, n) {
return Sizzle.uniqueSort(Sizzle(s, n));
return Sizzle(s, n);
};
d3_selectMatches = Sizzle.matchesSelector;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -16,7 +16,7 @@ var d3_select = function(s, n) { return n.querySelector(s); },
// Prefer Sizzle, if available.
if (typeof Sizzle === "function") {
d3_select = function(s, n) { return Sizzle(s, n)[0] || null; };
d3_selectAll = function(s, n) { return Sizzle.uniqueSort(Sizzle(s, n)); };
d3_selectAll = function(s, n) { return Sizzle(s, n); };
d3_selectMatches = Sizzle.matchesSelector;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment