Layout folder move to admin and frontend
This commit is contained in:
17
www/admin/layout/javascript/firebug.js
Normal file
17
www/admin/layout/javascript/firebug.js
Normal file
@@ -0,0 +1,17 @@
|
||||
/* vim: set fileencoding=utf-8 expandtab! shiftwidth=2 : */
|
||||
/* modified version of firebugx.js which can cope with
|
||||
* firebug 1.2+ and the webkit console */
|
||||
|
||||
var ConsoleSetup = function() {
|
||||
if (!window.console) {
|
||||
window.console = {};
|
||||
}
|
||||
|
||||
var names = ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'];
|
||||
|
||||
for (var i = 0; i < names.length; ++i) {
|
||||
if (!window.console[names[i]]) {
|
||||
window.console[names[i]] = function() {};
|
||||
}
|
||||
}
|
||||
}();
|
||||
Reference in New Issue
Block a user