Browse Source

Fix typo for mimeType - #236

pull/263/merge
Masayuki Tanaka 11 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 --*/ /*-- Load data and init chart with defined functions --*/
function initWithUrl(args) { 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) { d3.xhr(config.data.url, function (error, data) {
var d; var d;
if (type === 'json') { 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', bindto: '#chart2',
data: { data: {
url: '/data/c3_test.json', url: '/data/c3_test.json',
mineType: 'json' mimeType: 'json'
} }
}); });

Loading…
Cancel
Save