$(document).ready(function(){
	
	GCBA.supportsTouch = 'createTouch' in document;
	GCBA.init();
	//GCBA.testing = true;
	
});

GCBA = {
	version 			: '0.1',
	supportsTouch 		: false,
	
	init : function() {
		var supportsTouch = GCBA.supportsTouch;
		
		$('#line-3').prepend('<p>Beard Competition</p>');
		
	}
};

// usage: log('inside coolFunc',this,arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function(){
	//log.history = log.history || [];   // store logs to an array for reference
	//log.history.push(arguments);
	if (GCBA.testing) {
		if(this.console){
		  console.log( Array.prototype.slice.call(arguments) );
		}
		$('#output').html(arguments[0]);
	}
};
