Changed tabs to two spaces. Happy?

This commit is contained in:
George Michael Brower 2011-04-18 12:06:19 -07:00
parent 561b4a1411
commit 92a13fd869
7 changed files with 550 additions and 547 deletions

View File

@ -10,7 +10,7 @@ function FizzyText(message) {
this.maxSize = 3.2; // how big can they get? this.maxSize = 3.2; // how big can they get?
this.noiseStrength = 10; // how turbulent is the flow? this.noiseStrength = 10; // how turbulent is the flow?
this.speed = 0.4; // how fast do particles move? this.speed = 0.4; // how fast do particles move?
this.displayOutline = false; // should we draw the message as a stroke? this.displayOutline = true; // should we draw the message as a stroke?
this.framesRendered = 0; this.framesRendered = 0;
// __defineGetter__ and __defineSetter__ makes JavaScript believe that // __defineGetter__ and __defineSetter__ makes JavaScript believe that

View File

@ -38,7 +38,8 @@ DAT.GUI.BooleanController = function() {
if (typeof val != "boolean") { if (typeof val != "boolean") {
try { try {
val = eval(val); val = eval(val);
} catch (e) {} } catch (e) {
}
} }
return DAT.GUI.Controller.prototype.setValue.call(this, val); return DAT.GUI.Controller.prototype.setValue.call(this, val);
}; };

View File

@ -54,7 +54,8 @@ DAT.GUI.Controller.prototype.getValue = function() {
return this.object[this.propertyName]; return this.object[this.propertyName];
}; };
DAT.GUI.Controller.prototype.updateDisplay = function() {}; DAT.GUI.Controller.prototype.updateDisplay = function() {
};
DAT.GUI.Controller.prototype.onChange = function(fnc) { DAT.GUI.Controller.prototype.onChange = function(fnc) {
this.changeFunction = fnc; this.changeFunction = fnc;

View File

@ -25,5 +25,6 @@ DAT.GUI.FunctionController = function() {
} }
_this.object[_this.propertyName].call(_this.object); _this.object[_this.propertyName].call(_this.object);
}; };
}; };
DAT.GUI.extendController(DAT.GUI.FunctionController); DAT.GUI.extendController(DAT.GUI.FunctionController);