Skip to content

Commit

Permalink
Re-export doesn’t expose a local binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Nov 4, 2015
1 parent ee60743 commit b5302dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ export {default as interpolateHslLong} from "./src/interpolateHslLong";
export {default as interpolateLab} from "./src/interpolateLab";
export {default as interpolateHcl} from "./src/interpolateHcl";
export {default as interpolateHclLong} from "./src/interpolateHclLong";
export {default as interpolateCubehelixGamma} from "./src/interpolateCubehelixGamma";
export {default as interpolateCubehelixGammaLong} from "./src/interpolateCubehelixGammaLong";

import interpolateCubehelixGamma from "./src/interpolateCubehelixGamma";
import interpolateCubehelixGammaLong from "./src/interpolateCubehelixGammaLong";
export var interpolateCubehelix = interpolateCubehelixGamma(1);
export var interpolateCubehelixLong = interpolateCubehelixGammaLong(1);
export {interpolateCubehelixGamma, interpolateCubehelixGammaLong};

0 comments on commit b5302dd

Please sign in to comment.