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

Function deferredConversion

static/word2md/mammoth.browser.js:529–541  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

527var deferredId = 1;
528
529function deferredConversion(func) {
530 return function(element, messages, options) {
531 return [
532 {
533 type: "deferred",
534 id: deferredId++,
535 value: function() {
536 return func(element, messages, options);
537 }
538 }
539 ];
540 };
541}
542
543function unrecognisedStyleWarning(type, element) {
544 return results.warning(

Callers 1

DocumentConversionFunction · 0.70

Calls 1

funcFunction · 0.85

Tested by

no test coverage detected