// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

//Declare a fake console object and console.log function object if they don't exist, 
//to prevent js errors from console.log messages that end up checked in
//TODO: write a better way to manage this that checks a global debug var to decide to emit these logs or not...
if (typeof console == 'undefined' || typeof console.log == 'undefined')
{
	var console = { log: function() {} }
}