From 57cc8dff2e5723b8468c2f1fa1020ac2a9144022 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 22 Apr 2014 11:05:42 +0100 Subject: Rename styleName to the more accurate styleId --- lib/documents.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/documents.js') diff --git a/lib/documents.js b/lib/documents.js index ce985e9..8463da0 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -20,7 +20,7 @@ function Paragraph(children, properties) { return { type: types.paragraph, children: children, - styleName: properties.styleName || null, + styleId: properties.styleId || null, numbering: properties.numbering || null, alignment: properties.alignment || null }; @@ -31,7 +31,7 @@ function Run(children, properties) { return { type: types.run, children: children, - styleName: properties.styleName || null, + styleId: properties.styleId || null, isBold: properties.isBold, isItalic: properties.isItalic }; -- cgit v1.2.3