aboutsummaryrefslogtreecommitdiff
path: root/tests/documents.tests.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-04-01 12:03:06 +0100
committerMichael Williamson <mike@zwobble.org>2013-04-01 12:03:06 +0100
commit6a9f7140a8f67a9af33c30dbd0acd61496ba1e91 (patch)
tree143d4d9c78fd1869b75f584ef8c0288704401a21 /tests/documents.tests.js
parent7f415770a2039f9072356e6b17349004c1ff35c0 (diff)
Revert "Rename paragraphStyleMap to just styleMap"
This reverts commit 7f415770a2039f9072356e6b17349004c1ff35c0.
Diffstat (limited to 'tests/documents.tests.js')
-rw-r--r--tests/documents.tests.js4
1 files changed, 2 insertions, 2 deletions
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"])
}
});