Actually I use Function.preventDefault = function(callback, e) { callback(e); e.preventDefault() }; witch is excaclly for event handing, but I think there isn't any chance this could go into core.
As for Fuction.empty / Function.identity +1 ( at first identity sounded weird, but I could find a better name my self ) --~--~---------~--~----~------------~-------~--~----~ 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 prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---