diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-03-31 18:59:58 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-03-31 18:59:58 +0100 |
| commit | 7f415770a2039f9072356e6b17349004c1ff35c0 (patch) | |
| tree | 6e53679ed0071a50629628b5f0f524545741891a /tests/documents.tests.js | |
| parent | 8b494256243da202598bc573af03bf8001f0502d (diff) | |
Rename paragraphStyleMap to just styleMap
Diffstat (limited to 'tests/documents.tests.js')
| -rw-r--r-- | tests/documents.tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/documents.tests.js b/tests/documents.tests.js index 06faf10..b69829f 100644 --- a/tests/documents.tests.js +++ b/tests/documents.tests.js @@ -63,7 +63,7 @@ describe('DocumentConverter', function() { paragraphOfText("Hello.", "Heading1"), ]); var converter = new DocumentConverter({ - paragraphStyleMap: { + styleMap: { "Heading1": styles.topLevelElement("h1") } }); @@ -77,7 +77,7 @@ describe('DocumentConverter', function() { paragraphOfText("Hello.", "Heading1") ]); var converter = new DocumentConverter({ - paragraphStyleMap: { + styleMap: { "Heading1": styles.elements(["h1", "span"]) } }); |
