All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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"]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy