mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
handles properly
This commit is contained in:
parent
354eeb3c0b
commit
4d5febb0e5
2
gui.js
2
gui.js
@ -10,6 +10,7 @@ var GUI = new function() {
|
||||
var type = typeof value;
|
||||
var handler = addHandlers[type];
|
||||
if (handler) {
|
||||
log(property.toString() + " is a " + type + " based GUI object");
|
||||
} else {
|
||||
log("I don't know how to handle data type: " + type);
|
||||
}
|
||||
@ -38,7 +39,6 @@ var GUI = new function() {
|
||||
|
||||
};
|
||||
|
||||
// Now we don't need to worry about console.log
|
||||
var log = function(item) {
|
||||
if(typeof console.log == 'function')
|
||||
console.log(item);
|
||||
|
Loading…
Reference in New Issue
Block a user