Skip to content

Commit

Permalink
Concise exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 4, 2015
1 parent eed2bc8 commit cb1ad9b
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions index.js
@@ -1,17 +1,7 @@
import bundle from "./src/bundle";
import cluster from "./src/cluster";
import links from "./src/links";
import pack from "./src/pack";
import partition from "./src/partition";
import tree from "./src/tree";
import treemap from "./src/treemap";

export {
bundle,
cluster,
links,
pack,
partition,
tree,
treemap
};
export {default as bundle} from "./src/bundle";
export {default as cluster} from "./src/cluster";
export {default as links} from "./src/links";
export {default as pack} from "./src/pack";
export {default as partition} from "./src/partition";
export {default as tree} from "./src/tree";
export {default as treemap} from "./src/treemap";

0 comments on commit cb1ad9b

Please sign in to comment.