UNPKG

ts-edifact

Version:
19 lines 597 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UNECEDomHandler = void 0; const htmlparser2_1 = require("htmlparser2"); class UNECEDomHandler extends htmlparser2_1.DomHandler { constructor(callback, options, elementCB) { super(callback, options, elementCB); } ontext(data) { super.ontext(data); this.onText(data); } onopentag(name, attribs) { super.onopentag(name, attribs); this.onOpenTag(name, attribs); } } exports.UNECEDomHandler = UNECEDomHandler; //# sourceMappingURL=uneceDomHandler.js.map