]> source.dussan.org Git - jquery.git/commit
Fixes #5856. Adds document protocol at the beginning of URLs without protocol (thanks...
authorjaubourg <j@ubourg.net>
Wed, 26 Jan 2011 00:36:05 +0000 (01:36 +0100)
committerjaubourg <j@ubourg.net>
Wed, 26 Jan 2011 00:36:05 +0000 (01:36 +0100)
commit0e5b341cc0f3f9bf0f6659e09704f2267cfdfdba
treec592fede824012dc08e101e9ee175bec94f90c46
parent325dcdc2ab05173f809b9d83af59918b3695cc23
Fixes #5856. Adds document protocol at the beginning of URLs without protocol (thanks go to skrings for the initial pull request). Simplifies cross-domain detection regexp and logic as a consequence. Also took the opportunity to remove an unused variable. Unit test added.
src/ajax.js
test/unit/ajax.js