Skip to content

Commit fd64c7c

Browse files
mikespanglerkswedberg
authored andcommitted
added missing parameter in example. closes issue jquery#465
1 parent 07349e4 commit fd64c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.ajaxTransport.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<p>Since each request requires its own transport object instance, transports cannot be registered directly. Therefore, you should provide a function that returns a transport instead.</p>
2020
<p>Transports factories are registered using <code>$.ajaxTransport()</code>. A typical registration looks like this:</p>
2121
<pre><code>
22-
$.ajaxTransport(function( options, originalOptions, jqXHR ) {
22+
$.ajaxTransport( dataType, function( options, originalOptions, jqXHR ) {
2323
if( /* transportCanHandleRequest */ ) {
2424
return {
2525
send: function( headers, completeCallback ) {

0 commit comments

Comments
 (0)