From be1eb45bf93cf971e833ee3767e4cb4d5343e0b3 Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Fri, 26 Feb 2016 13:10:02 -0800 Subject: [PATCH] Fix #6 - add interpolateTransformCss. --- README.md | 12 +++-- index.js | 2 +- package.json | 2 +- src/transform.js | 105 ------------------------------------- src/transform/decompose.js | 34 ++++++++++++ src/transform/index.js | 63 ++++++++++++++++++++++ src/transform/parse.js | 24 +++++++++ 7 files changed, 131 insertions(+), 111 deletions(-) delete mode 100644 src/transform.js create mode 100644 src/transform/decompose.js create mode 100644 src/transform/index.js create mode 100644 src/transform/parse.js diff --git a/README.md b/README.md index 6056b15..2fb3bea 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,11 @@ Note that the generic value interpolator detects not only nested objects and arr ## Installing -If you use NPM, `npm install d3-interpolate`. Otherwise, download the [latest release](https://github.com/d3/d3-interpolate/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-interpolate.v0.5.min.js) or as part of [D3 4.0 alpha](https://github.com/mbostock/d3/tree/4). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3_interpolate` global is exported: +If you use NPM, `npm install d3-interpolate`. Otherwise, download the [latest release](https://github.com/d3/d3-interpolate/releases/latest). You can also load directly from [d3js.org](https://d3js.org), either as a [standalone library](https://d3js.org/d3-interpolate.v0.6.min.js) or as part of [D3 4.0 alpha](https://github.com/mbostock/d3/tree/4). AMD, CommonJS, and vanilla environments are supported. In vanilla, a `d3_interpolate` global is exported: ```html - +