On 2/14/07, Colin Mollenhour <[EMAIL PROTECTED]> wrote:
>
>
> 1686   var Toggle = new Object();
> 1687   Toggle.display = Element.toggle;
>
> What is the point of this?


It's a shortcut that's supposed to look nice while writing:

   Toogle.display("foo")

I don't like it, though, and also agree that it pollutes the global
namespace.

+1 for removing it. That makes two of us now.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to