On 27 sep, 11:08, "Mislav Marohnić" <[EMAIL PROTECTED]> wrote:
>
> You didn't call the parent constructor. That's why foo is missing. You need:
>
>   initialize: function($super) {
>     $super()
>     this.bar = function() { alert( "bleh" ); };
>   }

OOoooo... so that's how it works... I'll have to study that code
deeper, because I've never seen that $super :) I guess the API docs
will be updated with 1.6'll be in final stage. Alright. Thanks for the
pointer.


--~--~---------~--~----~------------~-------~--~----~
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