src/client.express.ondomready.js
function (event){
		//IE compatibility
		event = event || window.event;
		//Mozilla, Opera, & Legacy
		if(event && event.type && (/DOMContentLoaded|load/).test(event.type)) {
			fireDOMReady();
		//Legacy	
		} else if(document.readyState) {
			if ((/loaded|complete/).test(doc.readyState)) {
				fireDOMReady();
			//IE, courtesy of Diego Perini (http://javascript.nwbox.com/IEContentLoaded/)
			} else if(document.documentElement.doScroll) {
				try {
					ready || document.documentElement.doScroll('left');
				} catch(ex) {
					return;
				}
				//If no error was thrown, the DOM must be ready
				fireDOMReady();
			}
		}
	}
function (event){
		//IE compatibility
		event = event || window.event;
		//Mozilla, Opera, & Legacy
		if(event && event.type && (/DOMContentLoaded|load/).test(event.type)) {
			fireDOMReady();
		//Legacy	
		} else if(document.readyState) {
			if ((/loaded|complete/).test(doc.readyState)) {
				fireDOMReady();
			//IE, courtesy of Diego Perini (http://javascript.nwbox.com/IEContentLoaded/)
			} else if(document.documentElement.doScroll) {
				try {
					ready || document.documentElement.doScroll('left');
				} catch(ex) {
					return;
				}
				//If no error was thrown, the DOM must be ready
				fireDOMReady();
			}
		}
	}
function ( event ) { //IE compatibility event = event || window . event ; //Mozilla, Opera, & Legacy if ( event && event . type && ( / DOMContentLoaded|load / ) . test ( event . type ) ) { fireDOMReady ( ) ; //Legacy	 } else if ( document . readyState ) { if ( ( / loaded|complete / ) . test ( doc . readyState ) ) { fireDOMReady ( ) ; //IE, courtesy of Diego Perini (http://javascript.nwbox.com/IEContentLoaded/) } else if ( document . documentElement . doScroll ) { try { ready || document . documentElement . doScroll ( 'left' ) ; } catch ( ex ) { return ; } //If no error was thrown, the DOM must be ready fireDOMReady ( ) ; } } }
Responsible for handling events and each tick of the interval
Responsible for handling events and each tick of the interval