Make optional the before argument of enter().insert('')

From the documentation: "For enter selections, the before selector may
be omitted, [...]"
This commit is contained in:
Cedric Venet
2014-05-11 23:50:35 +02:00
parent e9b0f608b1
commit b79abf8203
Vendored
+1 -1
View File
@@ -811,7 +811,7 @@ declare module D3 {
export interface EnterSelection {
append: (name: string) => Selection;
insert: (name: string, before: string) => Selection;
insert: (name: string, before?: string) => Selection;
select: (selector: string) => Selection;
empty: () => boolean;
node: () => Element;