jquery ajax: added a comment explaining the last commit.
This commit is contained in:
parent
35b8157507
commit
bf14ac1236
|
@ -470,6 +470,7 @@ jQuery.extend({
|
||||||
throw "parsererror";
|
throw "parsererror";
|
||||||
|
|
||||||
// Allow a pre-filtering function to sanitize the response
|
// Allow a pre-filtering function to sanitize the response
|
||||||
|
// s != null is checked to keep backwards compatibility
|
||||||
if( s && s.dataFilter )
|
if( s && s.dataFilter )
|
||||||
data = s.dataFilter( data, type );
|
data = s.dataFilter( data, type );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue