diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-22 11:05:42 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-22 11:05:42 +0100 |
| commit | 57cc8dff2e5723b8468c2f1fa1020ac2a9144022 (patch) | |
| tree | d04cc33addc704c07696aa44a4503c5e5388fad5 /tests/mammoth.tests.js | |
| parent | bc8e8b44a05041bc656e83a87d857ec58ba0b4fe (diff) | |
Rename styleName to the more accurate styleId
Diffstat (limited to 'tests/mammoth.tests.js')
| -rw-r--r-- | tests/mammoth.tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 0f9241e..cc08565 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -65,7 +65,7 @@ describe('mammoth', function() { }); var options = { transformDocument: function(document) { - document.children[0].styleName = "Heading1"; + document.children[0].styleId = "Heading1"; return document; } }; |
