1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/domready/ready.min.js

4 lines
485 B
JavaScript
Raw Normal View History

2023-12-18 13:12:25 +08:00
/*!
* domready (c) Dustin Diaz 2014 - License MIT
*/
!function(e,t){typeof module!="undefined"?module.exports=t():typeof define=="function"&&typeof define.amd=="object"?define(t):this[e]=t()}("domready",function(){var e=[],t,n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",s=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return s||n.addEventListener(i,t=function(){n.removeEventListener(i,t),s=1;while(t=e.shift())t()}),function(t){s?setTimeout(t,0):e.push(t)}})