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

Misleading text in the ajax ifModified documentation #607

Open
jamesplease opened this issue Dec 8, 2014 · 0 comments
Open

Misleading text in the ajax ifModified documentation #607

jamesplease opened this issue Dec 8, 2014 · 0 comments

Comments

@jamesplease
Copy link

Version: 2.1.1

It's possible that I'm misinterpreting this, but the documentation for ifModified explains:

To cause the request to report failure if the asset has not been modified since the last request, set ifModified to true.

Based on this, I expected a request to an unmodified resource to reject the Deferred object. However, it actually resolves. It seems unlikely that this behavior isn't intentional, so perhaps the wording there could be improved to explain that the Deferred will be resolved?

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

No branches or pull requests

1 participant