-
Notifications
You must be signed in to change notification settings - Fork 26
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
AMD support, Auto-fetch credentials from Collection/Model url #6
Conversation
ghost
commented
Jul 4, 2013
- Added AMD support
- Automatically fetch basic auth credentials from Collection/Model url property
- Improved library documentation
Very nice. Thanks for the PR. I wonder if there is merit in keeping the explicit |
Dunno, what would be the use case? Would it help based on your experience? To me it feels like setting the url property ( or a value read by a function assigned to it ) would replace both What do you think? |
I'm not really sure... I think the URL based approach will fit, and thinking about it, it is the correct way of doing things, according to the Basic Auth spec. I was also thinking of keeping Before I pull in, just wanted to check - does the code take care of removing the |
Ah, that's a good point, backwards compat, but as you say, it's not a minor release. The credentials are stripped away by jQuery already. Luis - @lmjabreu
|
Sorry this has taken so long, now merged in. I decided to use Thanks too for providing the AMD code. Please let me know if you find any issues with the newest version. |