Files
development/www/layout/admin/default/javascript/debug.js
Clemens Schwaighofer 947497767d Update to debug javascript
Set debug javascript flag in header inc and then set the variable in the
main body templates
2015-04-24 11:06:16 +09:00

18 lines
410 B
JavaScript

/*
********************************************************************
* AUTHOR: Clemens Schwaighofer
* DATE: 2015/4/24
* DESCRIPTION:
* debug javascript
* HISTORY:
********************************************************************
*/
// if debug is set to true, console log messages are printed
if (!DEBUG)
{
$($H(window.console)).each(function(w) {
window.console[w.key] = function() {}
});
}