Merge pull request #1010 from flxf/d3selectionnode

D3's Selection.node() returns an HTMLElement
This commit is contained in:
Boris Yankov
2013-09-09 05:00:05 -07:00

4
d3/d3.d.ts vendored
View File

@@ -740,7 +740,7 @@ declare module D3 {
*/
sort<T>(comparator?: (a: T, b: T) => number): Selection;
order: () => Selection;
node: () => SVGLocatable;
node: () => HTMLElement;
}
export interface EnterSelection {
@@ -748,7 +748,7 @@ declare module D3 {
insert: (name: string, before: string) => Selection;
select: (selector: string) => Selection;
empty: () => boolean;
node: () => SVGLocatable;
node: () => HTMLElement;
}
export interface UpdateSelection extends Selection {