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

Function XMLStringifier

static/word2md/mammoth.browser.js:32336–32347  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

32334
32335 module.exports = XMLStringifier = (function() {
32336 function XMLStringifier(options) {
32337 this.assertLegalChar = bind(this.assertLegalChar, this);
32338 var key, ref, value;
32339 options || (options = {});
32340 this.noDoubleEncoding = options.noDoubleEncoding;
32341 ref = options.stringify || {};
32342 for (key in ref) {
32343 if (!hasProp.call(ref, key)) continue;
32344 value = ref[key];
32345 this[key] = value;
32346 }
32347 }
32348
32349 XMLStringifier.prototype.eleName = function(val) {
32350 val = '' + val || '';

Callers

nothing calls this directly

Calls 1

bindFunction · 0.70

Tested by

no test coverage detected