Could someone explain what the following line does? this.initialize.apply(this, arguments);
I know how 'apply' works, but I cannot understand why 'this' is used twice here? both 'this' refer to the same object (current object). then why not just call this.initialize(arguments)?. What's the difference here? THANKS IN ADVANCE! Lin --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---