Browse Source

Fix conflict

pull/452/head
Masayuki Tanaka 10 years ago
parent
commit
e4e4b6c4a4
  1. 6
      c3.js
  2. 6
      c3.min.js

6
c3.js

@ -1563,6 +1563,9 @@
for (i = 1; i < rows.length; i++) { for (i = 1; i < rows.length; i++) {
new_row = {}; new_row = {};
for (j = 0; j < rows[i].length; j++) { for (j = 0; j < rows[i].length; j++) {
if (isUndefined(rows[i][j])) {
throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
}
new_row[keys[j]] = rows[i][j]; new_row[keys[j]] = rows[i][j];
} }
new_rows.push(new_row); new_rows.push(new_row);
@ -1577,6 +1580,9 @@
if (isUndefined(new_rows[j - 1])) { if (isUndefined(new_rows[j - 1])) {
new_rows[j - 1] = {}; new_rows[j - 1] = {};
} }
if (isUndefined(columns[i][j])) {
throw new Error("Source data is missing a component at (" + i + "," + j + ")!");
}
new_rows[j - 1][key] = columns[i][j]; new_rows[j - 1][key] = columns[i][j];
} }
} }

6
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save