had to update setName() to name() again

This commit is contained in:
jonobr1 2011-01-28 20:38:05 -07:00
parent 2bab9a0699
commit ce9bba65a5

View File

@ -49,7 +49,7 @@
gui.add(fizzyText, "framesRendered").listen(); gui.add(fizzyText, "framesRendered").listen();
// Fires a function called "explode" // Fires a function called "explode"
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name. gui.add(fizzyText, "explode").name("Explode!"); // Specify a custom name.
}; };
@ -97,7 +97,7 @@ window.onload = function() {
gui.add(fizzyText, "framesRendered").listen(); gui.add(fizzyText, "framesRendered").listen();
// Fires a function called "explode" // Fires a function called "explode"
gui.add(fizzyText, "explode").setName("Explode!"); // Specify a custom name. gui.add(fizzyText, "explode").name("Explode!"); // Specify a custom name.
}; };