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

Function findStyle

static/word2md/mammoth.browser.js:295–301  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

293 }
294
295 function findStyle(element) {
296 for (var i = 0; i < styleMap.length; i++) {
297 if (styleMap[i].from.matches(element)) {
298 return styleMap[i];
299 }
300 }
301 }
302
303 function recoveringConvertImage(convertImage) {
304 return function(image, messages) {

Callers 4

htmlPathForParagraphFunction · 0.70
convertRunFunction · 0.70
findHtmlPathFunction · 0.70
htmlPathForBreakFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected