handles properly

This commit is contained in:
jonobr1 2011-01-23 14:04:08 -08:00
parent 354eeb3c0b
commit 4d5febb0e5

2
gui.js
View File

@ -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);