[jQuery] Re: Accessing an objects array from an $.ajax call

2010-01-12 Thread Scott Sauyet
On Jan 12, 2:50 pm, Matthias wrote: > oh I thought stop() would actually hold the execution of the test... It does. However the parameters passed in to the equals call are evaluated immediately, as they are in most programming languages. (Haskell is an exception, and other languages might allow

[jQuery] Re: Accessing an objects array from an $.ajax call

2010-01-12 Thread Matthias
Hey Scott oh I thought stop() would actually hold the execution of the test... Well thanks a lot for the superb and detailed answer. You helped me a lot. Matthias On Jan 12, 6:17 pm, Scott Sauyet wrote: > On Jan 12, 10:27 am, Matthias wrote: > > > I have an object with a member function that

[jQuery] Re: Accessing an objects array from an $.ajax call

2010-01-12 Thread Scott Sauyet
On Jan 12, 10:27 am, Matthias wrote: > I have an object with a member function that changes something on the > objects state. This works perfectly fine in the easy case. But when I > use an $.ajax call within the function it doesn't work. > > Here is the example code and failing QUnit tests:http:/