jquery ajax: added a comment explaining the last commit.

This commit is contained in:
Ariel Flesler 2008-06-17 21:31:57 +00:00
parent 35b8157507
commit bf14ac1236

View file

@ -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 );