[Prototype-core] Prototype-Base Overlay and Best Practices

2009-06-04 Thread Luisgo
Hi, I am working on a little class to create prototype-based overlays that has gotten me thinking about prototype best practices. I am not trying to ask questions regarding this particular implementation but use this as an example to aid in discussing and answering the questions below. First, he

[Prototype-core] Re: Prototype-Base Overlay and Best Practices

2009-06-04 Thread Andrew Dupont
On Jun 4, 2009, at 8:36 PM, Luisgo wrote: > 1. Is there a better way to handle callback definition? See lines > 7-11. You've got the right idea here. I'd use `Prototype.emptyFunction` instead because there's no reason to define more than one empty function, but this is of negligible importa