Skip to content

Commit 086de83

Browse files
timmywilmbostock
authored andcommitted
Shorten selectAll to just Sizzle
1 parent 336f3af commit 086de83

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

d3.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,9 +499,7 @@
499499
d3_select = function(s, n) {
500500
return Sizzle(s, n)[0] || null;
501501
};
502-
d3_selectAll = function(s, n) {
503-
return Sizzle(s, n);
504-
};
502+
d3_selectAll = Sizzle;
505503
d3_selectMatches = Sizzle.matchesSelector;
506504
}
507505
d3.selection = function() {

0 commit comments

Comments
 (0)