It is indeed convenient, but I find myself rarely using it.
Could you share your use cases?

- kangax

On May 3, 6:22 am, bubbatls <[EMAIL PROTECTED]> wrote:
> In the same way of
> Prototype.K and Prototype.emptyFunction
>
> I'm ofter using function that may be integrated in Prototype like
> that :
>
> Prototype.True = function() {
>   return true;
>
> }
>
> and
>
> Prototype.False = function() {
>   return false;
>
> }
>
> With that, it is easyier to code, and limits memory usage. It can even
> improve performance by adding
>
> Prototype.False.bind = Prototype.False.bindAsEventListener = function()
> {return this}
>
> I checked quickly the code of prototype and it is not really usefull
> inside it. Maybe I'm not the only one to use this kind of function
> really often
--~--~---------~--~----~------------~-------~--~----~
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