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

Function describeToken

static/word2md/mammoth.browser.js:15647–15653  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

15645};
15646
15647var describeToken = function(token) {
15648 if (token.value) {
15649 return token.name + " \"" + token.value + "\"";
15650 } else {
15651 return token.name;
15652 }
15653};
15654
15655function describeTokenMismatch(input, expected) {
15656 var error;

Callers 2

mammoth.browser.jsFile · 0.70
describeTokenMismatchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected