holder.js
function completed( event ) {
	        // readyState === "complete" is good enough for us to call the dom ready in oldIE
	        if ( w3c || event.type === LOAD || doc[READYSTATE] === COMPLETE ) {
	            detach();
	            ready();
	        }
	    }
function completed( event ) {
	        // readyState === "complete" is good enough for us to call the dom ready in oldIE
	        if ( w3c || event.type === LOAD || doc[READYSTATE] === COMPLETE ) {
	            detach();
	            ready();
	        }
	    }
function completed ( event ) { // readyState === "complete" is good enough for us to call the dom ready in oldIE if ( w3c || event . type === LOAD || doc [ READYSTATE ] === COMPLETE ) { detach ( ) ; ready ( ) ; } }
The ready event handler
The ready event handler