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