Permalink
Browse files

change: 'undefined' should mean empty cell

  • Loading branch information...
1 parent f199b9b commit 39673733d4014598c0207f9b43fcfc7b0b71960d @eldargab committed Mar 20, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/table.js
View
1 lib/table.js
@@ -104,5 +104,6 @@ function LeftPadder (char) {
Table.padLeft = LeftPadder();
Table.string = function (obj) {
+ if (obj === undefined) return '';
return String(obj);
}

0 comments on commit 3967373

Please sign in to comment.