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

Function readNums

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

Source from the content-addressed store, hash-verified

1839}
1840
1841function readNums(root) {
1842 var nums = {};
1843 root.getElementsByTagName("w:num").forEach(function(element) {
1844 var numId = element.attributes["w:numId"];
1845 var abstractNumId = element.first("w:abstractNumId").attributes["w:val"];
1846 nums[numId] = {abstractNumId: abstractNumId};
1847 });
1848 return nums;
1849}
1850
1851},{}],12:[function(require,module,exports){
1852var _ = require("underscore");

Callers 1

readNumberingXmlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected