dat.gui/gui.js
George Michael Brower 8126a0cf4b Initial files
2011-01-23 14:39:07 -07:00

30 lines
353 B
JavaScript

var GUI = new function() {
var addHandlers = {
"number": function() {
//
}
}
this.add = function() {
var object = arguments[0];
var property = arguments[1];
var value = object[property];
var type = typeof value;
if (addHandlers[type]) {
} else {
// don't know how to handle this data type
}
}
};