Commit f696fad2 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix typo for mimeType - #236

parent 81bec125
...@@ -5074,7 +5074,7 @@ ...@@ -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') {
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
bindto: '#chart2', bindto: '#chart2',
data: { data: {
url: '/data/c3_test.json', url: '/data/c3_test.json',
mineType: 'json' mimeType: 'json'
} }
}); });
......
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