Skip to content

Commit

Permalink
refactor(markdown-docx): remove argument ooxml in toOOXML func - #397 (
Browse files Browse the repository at this point in the history
…#412)

Signed-off-by: k-kumar-01 <[email protected]>
  • Loading branch information
K-Kumar-01 authored and algomaster99 committed Jun 17, 2021
1 parent 0e28a30 commit 09529f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/markdown-docx/src/CiceroMarkToOOXML/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,9 @@ class CiceroMarkToOOXMLTransfomer {
* Transforms the given CiceroMark JSON to OOXML
*
* @param {Object} ciceromark CiceroMark JSON to be converted
* @param {string} ooxml Initial OOXML string
* @returns {string} Converted OOXML string i.e. CicecoMark->OOXML
*/
toOOXML(ciceromark, ooxml = '') {
this.globalOOXML = ooxml;
toOOXML(ciceromark) {
ciceromark.nodes.forEach(node => {
this.getNodes(node);
});
Expand Down

0 comments on commit 09529f2

Please sign in to comment.