8000 async.after can't trigger after ajax successed · Issue #16 · raganwald/method-combinators · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
async.after can't trigger after ajax successed #16
Open
@NoahZhang

Description

@NoahZhang

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0