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

Function recoveringConvertImage

static/word2md/mammoth.browser.js:303–312  ·  view source on GitHub ↗
(convertImage)

Source from the content-addressed store, hash-verified

301 }
302
303 function recoveringConvertImage(convertImage) {
304 return function(image, messages) {
305 return promises.attempt(function() {
306 return convertImage(image, messages);
307 }).caught(function(error) {
308 messages.push(results.error(error));
309 return [];
310 });
311 };
312 }
313
314 function noteHtmlId(note) {
315 return referentHtmlId(note.noteType, note.noteId);

Callers 1

DocumentConversionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected