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

Documentation for can.Deferred reject is not correct #2280

Closed
mickmcgrath13 opened this issue Feb 19, 2016 · 0 comments
Closed

Documentation for can.Deferred reject is not correct #2280

mickmcgrath13 opened this issue Feb 19, 2016 · 0 comments
Milestone

Comments

@mickmcgrath13
Copy link
Contributor

on https://canjs.com/docs/can.Deferred.prototype.reject.html

The docs are for .reject, but the example shows .done with a function instead of an object.

def.done(function(reason) { ... });

should be

def.reject({ foo: 'bar' })
@daffl daffl added this to the 2.3.17 milestone Feb 19, 2016
daffl added a commit that referenced this issue Feb 19, 2016
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

2 participants