diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-03-14 00:23:36 +0100 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-04-03 20:51:30 -0400 |
commit | 1205103a72db407bfbc0de3d9b78f1fd6a02520c (patch) | |
tree | b80011049028520865ec59875bb6cded54f76f3f /src/ajax.js | |
parent | 9eb838e4189c7afbd187b4663923d97a608811ef (diff) | |
download | jquery-1205103a72db407bfbc0de3d9b78f1fd6a02520c.tar.gz jquery-1205103a72db407bfbc0de3d9b78f1fd6a02520c.zip |
Update grunt-contrib-jshint to 0.3.0, close gh-1204.
(cherry picked from 4adde5d14534799f3bcfac2771e1513be8a56a2f)
Conflicts:
src/data.js
src/effects.js
Diffstat (limited to 'src/ajax.js')
-rw-r--r-- | src/ajax.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax.js b/src/ajax.js index 3ceb82c6d..e965a3e8a 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -444,8 +444,8 @@ jQuery.extend({ parts = rurl.exec( s.url.toLowerCase() ); s.crossDomain = !!( parts && ( parts[ 1 ] !== ajaxLocParts[ 1 ] || parts[ 2 ] !== ajaxLocParts[ 2 ] || - ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? 80 : 443 ) ) != - ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? 80 : 443 ) ) ) + ( parts[ 3 ] || ( parts[ 1 ] === "http:" ? "80" : "443" ) ) !== + ( ajaxLocParts[ 3 ] || ( ajaxLocParts[ 1 ] === "http:" ? "80" : "443" ) ) ) ); } |