This is a PR that implements #22, with the "tableBorder" option structure outlined there.
I elected to refactor the Table.prototype.render function to make a single control loop that renders table border rows sequentially from the top down, whether they are pure "border" rows or the border parts of the "content" rows. With the slew of new border options, having these two "border" and "content" row renderings separate - as the code was previously - became difficult to understand, was difficult to implement correctly, and would have been difficult to manage going forward.
This is a PR that implements #22, with the "tableBorder" option structure outlined there.
I elected to refactor the
Table.prototype.render
function to make a single control loop that renders table border rows sequentially from the top down, whether they are pure "border" rows or the border parts of the "content" rows. With the slew of new border options, having these two "border" and "content" row renderings separate - as the code was previously - became difficult to understand, was difficult to implement correctly, and would have been difficult to manage going forward.