From 6a9f7140a8f67a9af33c30dbd0acd61496ba1e91 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 1 Apr 2013 12:03:06 +0100 Subject: Revert "Rename paragraphStyleMap to just styleMap" This reverts commit 7f415770a2039f9072356e6b17349004c1ff35c0. --- tests/documents.tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/documents.tests.js') diff --git a/tests/documents.tests.js b/tests/documents.tests.js index b69829f..06faf10 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({ - styleMap: { + paragraphStyleMap: { "Heading1": styles.topLevelElement("h1") } }); @@ -77,7 +77,7 @@ describe('DocumentConverter', function() { paragraphOfText("Hello.", "Heading1") ]); var converter = new DocumentConverter({ - styleMap: { + paragraphStyleMap: { "Heading1": styles.elements(["h1", "span"]) } }); -- cgit v1.2.3