diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-05-20 15:21:05 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-05-20 15:21:05 +0100 |
| commit | 76dbec2efb57f87118069427158c15f7bb59c82d (patch) | |
| tree | 4a5cdeac9e3f64964d7ef5cec6d8556837a62df4 /lib/documents.js | |
| parent | c2d5d7043644cbd3e0a8bfe3d9251cc5eca811d4 (diff) | |
Read whether row is header
Diffstat (limited to 'lib/documents.js')
| -rw-r--r-- | lib/documents.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/documents.js b/lib/documents.js index d4f4e3c..81fea00 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -153,10 +153,12 @@ function Table(children) { }; } -function TableRow(children) { +function TableRow(children, options) { + options = options || {}; return { type: types.tableRow, - children: children + children: children, + isHeader: options.isHeader || false }; } |
