Commit 4d777f81 authored by Mike Bostock's avatar Mike Bostock

Update d3-{brush,zoom}.

parent 21b6f2b4
......@@ -3,13 +3,13 @@
D3 4.0 is modular. Instead of one library, D3 is now [many small libraries](#table-of-contents) that are designed to work together. You can pick and choose which parts to use as you see fit. Each library is maintained in its own repository, allowing decentralized ownership and independent release cycles. The default bundle combines about thirty of these microlibraries.
```html
<script src="https://d3js.org/d3.v4.0.0-rc.1.min.js"></script>
<script src="https://d3js.org/d3.v4.0.0-rc.2.min.js"></script>
```
As before, you can load optional plugins on top of the default bundle, such as [ColorBrewer scales](https://github.com/d3/d3-scale-chromatic):
```html
<script src="https://d3js.org/d3.v4.0.0-rc.1.min.js"></script>
<script src="https://d3js.org/d3.v4.0.0-rc.2.min.js"></script>
<script src="https://d3js.org/d3-scale-chromatic.v0.3.min.js"></script>
```
......
......@@ -17,13 +17,13 @@
If you use NPM, `npm install d3@next`. Otherwise, download the [latest release](https://npmcdn.com/d3@next/build/). The released bundle supports AMD, CommonJS, and vanilla environments. Create a [custom bundle using Rollup](http://bl.ocks.org/mbostock/bb09af4c39c79cffcde4) or your preferred bundler. You can also load directly from [d3js.org](https://d3js.org):
```html
<script src="https://d3js.org/d3.v4.0.0-rc.1.js"></script>
<script src="https://d3js.org/d3.v4.0.0-rc.2.js"></script>
```
For the minified version:
```html
<script src="https://d3js.org/d3.v4.0.0-rc.1.min.js"></script>
<script src="https://d3js.org/d3.v4.0.0-rc.2.min.js"></script>
```
You can also use the standalone D3 microlibraries. For example, [d3-color](https://github.com/d3/d3-color):
......
{
"name": "d3",
"version": "4.0.0-rc.1",
"version": "4.0.0-rc.2",
"publishConfig": {
"tag": "next"
},
......@@ -43,7 +43,7 @@
"dependencies": {
"d3-array": "1.0.0",
"d3-axis": "1.0.0",
"d3-brush": "1.0.0",
"d3-brush": "1.0.1",
"d3-collection": "1.0.0",
"d3-color": "1.0.0",
"d3-dispatch": "1.0.0",
......@@ -69,6 +69,6 @@
"d3-timer": "1.0.0",
"d3-transition": "1.0.0",
"d3-voronoi": "1.0.0",
"d3-zoom": "1.0.0"
"d3-zoom": "1.0.1"
}
}
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