I think you're confused. self is not defined. You want to be using this.

On Feb 4, 2008 11:59 PM, Akari no ryu <[EMAIL PROTECTED]> wrote:
>
> self is a property of the pseudo classes in Javascript, similar to
> this.
> I possibly should have added that if I comment out the bindMethods
> part, everything works as expected.
>
> On Feb 5, 7:55 am, "Bob Ippolito" <[EMAIL PROTECTED]> wrote:
> > Card = function(value, suit, orientation, set)
> > {
> >        MochiKit.Base.bindMethods(self);
> >
> > ^^ self isn't defined here.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to