Sha256: 3fdab8f6dd160bd62bee586bf586fc57b78b921337ff82235540edcdf0d44477

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

import "xhr";

d3.json = function(url, callback) {
  return d3_xhr(url, "application/json", d3_json, callback);
};

function d3_json(request) {
  return JSON.parse(request.responseText);
}

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
mdarray-sol-0.1.0-java node_modules/dc/node_modules/d3/src/xhr/json.js
stripchart-0.0.3 lib/stripchart/public/components/d3/src/xhr/json.js
stripmem-0.0.3 lib/stripmem/public/components/d3/src/xhr/json.js
stripmem-0.0.2 lib/stripmem/public/components/d3/src/xhr/json.js
stripmem-0.0.1 lib/stripmem/public/components/d3/src/xhr/json.js