package.dist.prod.util.willShowContent.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/util/willShowContent.ts"],
"sourcesContent": ["const willShowContent = (childNodes: Array) => {\n\treturn Array.from(childNodes).filter(node => {\n\t\treturn node.nodeType !== Node.COMMENT_NODE && (node.nodeType !== Node.TEXT_NODE || (node.nodeValue || \"\").trim().length !== 0);\n\t}).length > 0;\n};\n\nexport default willShowContent;\n"],
"mappings": "aAAA,MAAMA,EAAmBC,GACjB,MAAM,KAAKA,CAAU,EAAE,OAAOC,GAC7BA,EAAK,WAAa,KAAK,eAAiBA,EAAK,WAAa,KAAK,YAAcA,EAAK,WAAa,IAAI,KAAK,EAAE,SAAW,EAC5H,EAAE,OAAS,EAGb,eAAeF",
"names": ["willShowContent", "childNodes", "node"]
}