Layout folder move to admin and frontend
This commit is contained in:
14
www/admin/layout/javascript/debug.js
Normal file
14
www/admin/layout/javascript/debug.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/*********************************************************************
|
||||
* AUTHOR: Clemens Schwaighofer
|
||||
* DATE: 2015/4/24
|
||||
* DESCRIPTION:
|
||||
* debug javascript
|
||||
* HISTORY:
|
||||
**********************************************************************/
|
||||
|
||||
// if debug is set to true, console log messages are printed
|
||||
if (!DEBUG) {
|
||||
for (var prop in window.console) {
|
||||
window.console[prop] = function () {};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user