MCPcopy Create free account
hub / github.com/TruthHun/BookStack / readAbstractNums

Function readAbstractNums

static/word2md/mammoth.browser.js:1816–1823  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

1814}
1815
1816function readAbstractNums(root) {
1817 var abstractNums = {};
1818 root.getElementsByTagName("w:abstractNum").forEach(function(element) {
1819 var id = element.attributes["w:abstractNumId"];
1820 abstractNums[id] = readAbstractNum(element);
1821 });
1822 return abstractNums;
1823}
1824
1825function readAbstractNum(element) {
1826 var levels = {};

Callers 1

readNumberingXmlFunction · 0.70

Calls 1

readAbstractNumFunction · 0.70

Tested by

no test coverage detected