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

Function flushBuffers

static/word2md/mammoth.browser.js:26067–26077  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

26065 }
26066
26067 function flushBuffers (parser) {
26068 closeText(parser)
26069 if (parser.cdata !== '') {
26070 emitNode(parser, 'oncdata', parser.cdata)
26071 parser.cdata = ''
26072 }
26073 if (parser.script !== '') {
26074 emitNode(parser, 'onscript', parser.script)
26075 parser.script = ''
26076 }
26077 }
26078
26079 SAXParser.prototype = {
26080 end: function () { end(this) },

Callers 1

mammoth.browser.jsFile · 0.70

Calls 2

closeTextFunction · 0.70
emitNodeFunction · 0.70

Tested by

no test coverage detected