1
0
Fork 0
mirror of https://github.com/Oreolek/jaguar-npc.git synced 2024-04-29 15:49:29 +03:00
jaguar-npc/ready.min.js

4 lines
427 B
JavaScript
Raw Permalink Normal View History

2014-04-08 07:18:49 +03: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="DOMContentLoaded",i=/^loaded|^i|^c/.test(n.readyState);return i||n.addEventListener(r,t=function(){n.removeEventListener(r,t),i=1;while(t=e.shift())t()}),function(t){i?t():e.push(t)}})