Commit 0e360db3 authored by Mike Bostock's avatar Mike Bostock
Browse files

Update CHANGES. Related #2896 d3/d3-request#12.

parent 17e15a97
......@@ -673,6 +673,14 @@ The d3.xhr method has been renamed to [d3.request](
If an error occurs, the corresponding [ProgressEvent]( of type “error” is now passed to the error listener, rather than the [XMLHttpRequest]( Likewise, the ProgressEvent is passed to progress event listeners, rather than using [d3.event]( If [d3.xml]( encounters an error parsing XML, this error is now reported to error listeners rather than returning a null response.
The [d3.request](, [d3.text]( and [d3.xml]( methods no longer take an optional mime type as the second argument; use [*request*.mimeType]( instead. For example:
d3.xml("file.svg").mimeType("image/svg+xml").get(function(error, svg) {
With the exception of [d3.html]( and [d3.xml](, Node is now supported via [node-XMLHttpRequest](
## [Scales (d3-scale)](
Supports Markdown
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