diff options
| author | Michael Williamson <mike@zwobble.org> | 2017-11-03 16:22:19 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2017-11-03 16:22:19 +0000 |
| commit | 0748bff0572c57ce8a62a92f19071c16a0a76c02 (patch) | |
| tree | 06378409dec5c03d66890e01d597daab6f0e2d5a /lib/docx/styles-reader.js | |
| parent | 9b80d92d3f1ed6b88d42cc3af870b67b5e406013 (diff) | |
Add test for missing table styles
Diffstat (limited to 'lib/docx/styles-reader.js')
| -rw-r--r-- | lib/docx/styles-reader.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/docx/styles-reader.js b/lib/docx/styles-reader.js index 7bf5475..ae288ab 100644 --- a/lib/docx/styles-reader.js +++ b/lib/docx/styles-reader.js @@ -16,6 +16,8 @@ function Styles(paragraphStyles, characterStyles, tableStyles) { }; } +Styles.EMPTY = new Styles({}, {}, {}); + function readStylesXml(root) { var paragraphStyles = {}; var characterStyles = {}; |
