On 5月19日, 下午6时52分, Eric <[email protected]> wrote:
>     if (parent) {
>       var subclass = function() { };
>       subclass.prototype = parent.prototype;
>       klass.prototype = new subclass;
>       parent.subclasses.push(klass);
>     }
>
> How to understand these codes ?

If I was the author, I will new parent directly and assign it to
klass.prototype.
So why use usbclass as broker ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to