package.dist.prod.util.whenDOMReady.js.map Maven / Gradle / Ivy
{
"version": 3,
"sources": ["../../../src/util/whenDOMReady.ts"],
"sourcesContent": ["const whenDOMReady = () => {\n\treturn new Promise(resolve => {\n\t\tif (document.body) {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tdocument.addEventListener(\"DOMContentLoaded\", () => {\n\t\t\t\tresolve();\n\t\t\t});\n\t\t}\n\t});\n};\n\nexport default whenDOMReady;\n"],
"mappings": "aAAA,MAAMA,EAAe,IACb,IAAI,QAAcC,GAAW,CAC/B,SAAS,KACZA,EAAQ,EAER,SAAS,iBAAiB,mBAAoB,IAAM,CACnDA,EAAQ,CACT,CAAC,CAEH,CAAC,EAGF,eAAeD",
"names": ["whenDOMReady", "resolve"]
}