Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async.after can't trigger after ajax successed #16

Open
NoahZhang opened this issue Sep 2, 2013 · 0 comments
Open

async.after can't trigger after ajax successed #16

NoahZhang opened this issue Sep 2, 2013 · 0 comments

Comments

@NoahZhang
Copy link

In your example async_base is this function

 function () {
      jQuery.get('http://example.com/comedians/jseinfeld.json', {}, function (data) {
        this.name = data.name;
        this.occupation = data.occupation;
      });
    }

Call this function use

async_base.apply(this, argv.concat(decorated_callback));

async_base can't receive parameter.
Where is invoke decorated_callback?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant