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 8e77250 commit 504509a
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
import interpolate from "./src/interpolate";
import interpolateArray from "./src/interpolateArray";
import interpolateNumber from "./src/interpolateNumber";
import interpolateObject from "./src/interpolateObject";
import interpolateRound from "./src/interpolateRound";
import interpolateString from "./src/interpolateString";
import interpolateTransform from "./src/interpolateTransform";
import interpolateZoom from "./src/interpolateZoom";
import interpolators from "./src/interpolators";

export {
interpolate,
interpolateArray,
interpolateNumber,
interpolateObject,
interpolateRound,
interpolateString,
interpolateTransform,
interpolateZoom,
interpolators
};
export {default as interpolate} from "./src/interpolate";
export {default as interpolateArray} from "./src/interpolateArray";
export {default as interpolateNumber} from "./src/interpolateNumber";
export {default as interpolateObject} from "./src/interpolateObject";
export {default as interpolateRound} from "./src/interpolateRound";
export {default as interpolateString} from "./src/interpolateString";
export {default as interpolateTransform} from "./src/interpolateTransform";
export {default as interpolateZoom} from "./src/interpolateZoom";
export {default as interpolators} from "./src/interpolators";

0 comments on commit 504509a

Please sign in to comment.