Skip to content

Commit

Permalink
deliberate ES6 syntax
Browse files Browse the repository at this point in the history
(rationale: don't let people install @2 in a build system that will not alert them that we have moved to ES6, only to cause trouble with a later release.)

remove unused src/scheme.js
  • Loading branch information
Fil committed Jun 5, 2020
1 parent cafd1a3 commit 6e96e58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions src/ramp.js
@@ -1,5 +1,3 @@
import {interpolateRgbBasis} from "d3-interpolate";

export default function(scheme) {
return interpolateRgbBasis(scheme[scheme.length - 1]);
}
export default scheme => interpolateRgbBasis(scheme[scheme.length - 1]);
11 changes: 0 additions & 11 deletions src/scheme.js

This file was deleted.

0 comments on commit 6e96e58

Please sign in to comment.