mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
edited log method
This commit is contained in:
parent
51e844ec48
commit
354eeb3c0b
5
gui.js
5
gui.js
@ -40,7 +40,6 @@ var GUI = new function() {
|
|||||||
|
|
||||||
// Now we don't need to worry about console.log
|
// Now we don't need to worry about console.log
|
||||||
var log = function(item) {
|
var log = function(item) {
|
||||||
if(window.console)
|
if(typeof console.log == 'function')
|
||||||
if(trim(window.console.firebug) != '')
|
console.log(item);
|
||||||
console.info(item);
|
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user