Hi,
We are using qooxdoo for development and I experienced a bug. I have 
declared a member that is pointing to a object and edit that member in 
the constructor of the class. When I create two or more instances of 
said class the member always points to the last created instance. If I 
assign the member to "this" like "this.member = {};" then it works like 
it is expected to. Can you give me a suggestion or a reason as to why 
this is happening?

PS.: The declaration in members goes as follows: members:
{
     member: {},
     funcUsingMember: function () {
         // Some business logic

         return this.member.key;
     }
}


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to