Commit bb4a9817 authored by Guillaume Ballet's avatar Guillaume Ballet

Add '{' and '}' so that travis will not complain. Also commit the minified

version.
parent dc972cd7
...@@ -1552,8 +1552,9 @@ ...@@ -1552,8 +1552,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])) if (isUndefined(rows[i][j])) {
throw new Error("Source data is missing a component at (" + 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);
...@@ -1568,8 +1569,9 @@ ...@@ -1568,8 +1569,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])) if (isUndefined(columns[i][j])) {
throw new Error("Source data is missing a component at (" + 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];
} }
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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