Skip to content

Commit

Permalink
jsLinted parser.table.js
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisp committed Aug 8, 2012
1 parent 22cc1dc commit 80794ec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

19 changes: 17 additions & 2 deletions src/js/workers/parser.table.js
Expand Up @@ -1343,8 +1343,23 @@
rowheader = row.cell[i];
headingRowCell.push(row.cell[i]);
}
for (j = 0; j < colKeyCell.length; j += 1) {
if (!(colKeyCell[j].type) && !(row.cell[i].keycell) && colKeyCell[j].height === row.cell[i].height) {
colKeyCell[j].type = 4;
row.cell[i].keycell = colKeyCell[j];

$.each(colKeyCell, function () {
if (!row.keycell) {
row.keycell = [];
}
row.keycell.push(colKeyCell[j]);

if (!groupZero.keycell) {
groupZero.keycell = [];
}
groupZero.keycell.push(colKeyCell[j]);
}
}
/*$.each(colKeyCell, function () {
if (!(this.type) && !(row.cell[i].keycell) && this.height === row.cell[i].height) {
this.type = 4;
row.cell[i].keycell = this;
Expand All @@ -1359,7 +1374,7 @@
}
groupZero.keycell.push(this);
}
});
});*/
}
}

Expand Down

0 comments on commit 80794ec

Please sign in to comment.