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

expose abort() method on Model calls (if exists) #99

Merged
merged 3 commits into from Nov 6, 2012

Conversation

iamnoah
Copy link
Contributor

@iamnoah iamnoah commented Sep 1, 2012

No description provided.

@justinbmeyer
Copy link
Contributor

Looks good, but we'll need to add a test before we can pull this.

Noah Sloan added 2 commits September 4, 2012 18:44
@iamnoah
Copy link
Contributor Author

iamnoah commented Sep 4, 2012

Tested. Good thing too; jQuery 1.8 changed the semantics of then().

d.abort = function() {
return def.abort();
};
}
return d;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally this would return a promise (with abort() tacked on) instead of a Deferred, but that broke a lot of tests.

imjoshdean added a commit that referenced this pull request Nov 6, 2012
expose abort() method on Model calls (if exists)
@imjoshdean imjoshdean merged commit 13317e8 into canjs:master Nov 6, 2012
@imjoshdean
Copy link
Contributor

Had to revert the pull due to breaking test "store ajax binding" and in general returning the appropriate models.

Please fix and submit a new pull request.

WearyMonkey pushed a commit to WearyMonkey/canjs that referenced this pull request Dec 31, 2012
Fix a typo in the documentation
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

Successfully merging this pull request may close these issues.

None yet

3 participants