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 7af9af2 commit 34d08b8
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import formatSpecifier from "./src/formatSpecifier";
import locale from "./src/locale";
import precisionFixed from "./src/precisionFixed";
import precisionPrefix from "./src/precisionPrefix";
import precisionRound from "./src/precisionRound";

import caEs from "./src/locale/ca-ES";
import deCh from "./src/locale/de-CH";
import deDe from "./src/locale/de-DE";
Expand Down Expand Up @@ -64,9 +59,7 @@ export function localeFormat(definition) {
return locale(definition);
};

export {
formatSpecifier,
precisionFixed,
precisionPrefix,
precisionRound
};
export {default as formatSpecifier} from "./src/formatSpecifier";
export {default as precisionFixed} from "./src/precisionFixed";
export {default as precisionPrefix} from "./src/precisionPrefix";
export {default as precisionRound} from "./src/precisionRound";

0 comments on commit 34d08b8

Please sign in to comment.