throw "parsererror";
// Allow a pre-filtering function to sanitize the response
- if( s.dataFilter )
+ // s != null is checked to keep backwards compatibility
+ if( s && s.dataFilter )
data = s.dataFilter( data, type );
// If the type is "script", eval it in global context