Browse Source

Fix typo for mimeType - #236

pull/263/merge
Masayuki Tanaka 10 years ago
parent
commit
f696fad2eb
  1. 2
      c3.js
  2. 2
      c3.min.js
  3. 2
      htdocs/samples/data_url.html

2
c3.js

@ -5074,7 +5074,7 @@
/*-- Load data and init chart with defined functions --*/
function initWithUrl(args) {
var type = args.mineType ? args.mineType : 'csv';
var type = args.mimeType ? args.mimeType : 'csv';
d3.xhr(config.data.url, function (error, data) {
var d;
if (type === 'json') {

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
htdocs/samples/data_url.html

@ -21,7 +21,7 @@
bindto: '#chart2',
data: {
url: '/data/c3_test.json',
mineType: 'json'
mimeType: 'json'
}
});

Loading…
Cancel
Save