diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 10:25:59 -0700 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2014-07-17 10:25:59 -0700 |
commit | c869a1ef8a031342e817a2c063179a787ff57239 (patch) | |
tree | bf70e1683cc53d5d3793a8deb0aaafe2bd684513 /src/ajax/xhr.js | |
parent | 8e3a0ceafa2c7c78902d0eab07d21b793deb5366 (diff) | |
download | jquery-c869a1ef8a031342e817a2c063179a787ff57239.tar.gz jquery-c869a1ef8a031342e817a2c063179a787ff57239.zip |
Build: update grunt-jscs-checker and pass with the new rules
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r-- | src/ajax/xhr.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index bdeeee3f8..a733eded0 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -7,7 +7,7 @@ define([ jQuery.ajaxSettings.xhr = function() { try { return new XMLHttpRequest(); - } catch( e ) {} + } catch ( e ) {} }; var xhrId = 0, @@ -45,7 +45,13 @@ jQuery.ajaxTransport(function( options ) { xhr = options.xhr(), id = ++xhrId; - xhr.open( options.type, options.url, options.async, options.username, options.password ); + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); // Apply custom fields if provided if ( options.xhrFields ) { |