Merge pull request #2177 from Stilgar84/master

For d3.js "typing": Make optional the before argument of enter().insert('')
This commit is contained in:
Masahiro Wakame
2014-05-12 13:07:14 +09:00
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;