diff options
| author | Craig Leinoff <leinoff@un.org> | 2014-01-06 18:10:42 -0500 |
|---|---|---|
| committer | Craig Leinoff <leinoff@un.org> | 2014-01-06 18:10:42 -0500 |
| commit | 24b0789dfacffd38fc16724ea1b2b8a14b49b29d (patch) | |
| tree | d6ca8f77f0c8051abc16d464a997b8540436fc06 /lib | |
| parent | e03ab48068c2850b852462581f5be23aada68bd7 (diff) | |
Fixing initialization of "alignment" to paragraphs from runs
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/documents.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/documents.js b/lib/documents.js index 193bb4f..3af5bd5 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -11,7 +11,8 @@ function Paragraph(children, properties) { type: "paragraph", children: children, styleName: properties.styleName || null, - numbering: properties.numbering || null + numbering: properties.numbering || null, + alignment: properties.alignment || null }; } @@ -22,8 +23,7 @@ function Run(children, properties) { children: children, styleName: properties.styleName || null, isBold: properties.isBold, - isItalic: properties.isItalic, - alignment: properties.alignment || null + isItalic: properties.isItalic }; } |
