On 24 September 2010 20:21, JoJo wrote:
> I have several lines of code that I want to run atomically (no context
> switches to other code). Please look at the following barebones
> example that illustrates the issue:
>
> //=
>
> function doAjax() {
> console.info('making r
If you want a() to finish before b() and b() to finish before c() then you
will have to daisy chain in the onComplete code.
On Fri, Sep 24, 2010 at 3:21 PM, JoJo wrote:
> I have several lines of code that I want to run atomically (no context
> switches to other code). Please look at the followin
I have several lines of code that I want to run atomically (no context
switches to other code). Please look at the following barebones
example that illustrates the issue:
//=
function doAjax() {
console.info('making request');
new Ajax.Request(
url, {
onSuccess: fun