Skip to content

Commit

Permalink
Shorten selectAll to just Sizzle
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil authored and mbostock committed Mar 24, 2014
1 parent 336f3af commit 086de83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions d3.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,7 @@
d3_select = function(s, n) {
return Sizzle(s, n)[0] || null;
};
d3_selectAll = function(s, n) {
return Sizzle(s, n);
};
d3_selectAll = Sizzle;
d3_selectMatches = Sizzle.matchesSelector;
}
d3.selection = function() {
Expand Down
Loading

0 comments on commit 086de83

Please sign in to comment.