src/js/utils.js
author hamidouk
Mon, 03 Oct 2011 16:08:36 +0200
branchpopcorn-port
changeset 51 1444edeae73f
parent 31 cbb1425bc769
child 60 ffc038fdb8f1
permissions -rw-r--r--
Adding required popcorn files. Also changed the build file to include those files.

/* utils.js - various utils that don't belong anywhere else */

/* trace function, for debugging */

IriSP.traceNum = 0;
IriSP.trace = function( msg, value ) {

	if( IriSP.config.gui.debug === true ) {
		IriSP.traceNum += 1;
		IriSP.jQuery( "<div>"+IriSP.traceNum+" - "+msg+" : "+value+"</div>" ).appendTo( "#Ldt-output" );
	}
};