Commit c02ef14d authored by Mike Bostock's avatar Mike Bostock
Browse files

Generate anonymous AMD.

Related mbostock/d3#2725.
parent d8c6cb37
...@@ -7,7 +7,7 @@ This branch contains the prerelease of D3 4.0. This API is unstable and may chan ...@@ -7,7 +7,7 @@ This branch contains the prerelease of D3 4.0. This API is unstable and may chan
If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://github.com/mbostock/d3/releases/latest). The released bundle supports AMD, CommonJS, and vanilla environments. Create a custom build using [Rollup](https://github.com/rollup/rollup) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org): If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://github.com/mbostock/d3/releases/latest). The released bundle supports AMD, CommonJS, and vanilla environments. Create a custom build using [Rollup](https://github.com/rollup/rollup) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org):
```html ```html
<script src="https://d3js.org/d3.v4.0.0-alpha.12.min.js"></script> <script src="https://d3js.org/d3.v4.0.0-alpha.13.min.js"></script>
``` ```
## API Reference ## API Reference
......
{ {
"name": "d3", "name": "d3",
"version": "4.0.0-alpha.12", "version": "4.0.0-alpha.13",
"publishConfig": { "publishConfig": {
"tag": "next" "tag": "next"
}, },
...@@ -39,27 +39,27 @@ ...@@ -39,27 +39,27 @@
"uglify-js": "2" "uglify-js": "2"
}, },
"dependencies": { "dependencies": {
"d3-array": "0.7.0", "d3-array": "0.7.1",
"d3-axis": "0.2.1", "d3-axis": "0.2.2",
"d3-collection": "0.1.0", "d3-collection": "0.1.1",
"d3-color": "0.3.3", "d3-color": "0.3.4",
"d3-dispatch": "0.2.5", "d3-dispatch": "0.2.6",
"d3-dsv": "0.1.13", "d3-dsv": "0.1.14",
"d3-ease": "0.5.1", "d3-ease": "0.5.2",
"d3-format": "0.5.0", "d3-format": "0.5.1",
"d3-interpolate": "0.4.0", "d3-interpolate": "0.4.1",
"d3-path": "0.1.3", "d3-path": "0.1.4",
"d3-polygon": "0.2.0", "d3-polygon": "0.2.1",
"d3-quadtree": "0.2.0", "d3-quadtree": "0.2.1",
"d3-queue": "2.0.0", "d3-queue": "2.0.1",
"d3-random": "0.2.0", "d3-random": "0.2.1",
"d3-request": "0.3.1", "d3-request": "0.3.2",
"d3-scale": "0.5.2", "d3-scale": "0.5.3",
"d3-selection": "0.6.3", "d3-selection": "0.6.5",
"d3-shape": "0.5.0", "d3-shape": "0.5.1",
"d3-time": "0.2.0", "d3-time": "0.2.1",
"d3-time-format": "0.3.0", "d3-time-format": "0.3.1",
"d3-timer": "0.1.0", "d3-timer": "0.1.1",
"d3-voronoi": "0.3.0" "d3-voronoi": "0.3.1"
} }
} }
...@@ -3,7 +3,6 @@ import npm from "rollup-plugin-npm"; ...@@ -3,7 +3,6 @@ import npm from "rollup-plugin-npm";
export default { export default {
plugins: [npm({jsnext: true}), json()], plugins: [npm({jsnext: true}), json()],
moduleId: "d3",
moduleName: "d3", moduleName: "d3",
format: "umd" format: "umd"
}; };
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment