( target, src )
| 8156 | // that takes "flat" options (not to be deep extended) |
| 8157 | // Fixes #9887 |
| 8158 | function ajaxExtend( target, src ) { |
| 8159 | var key, deep, |
| 8160 | flatOptions = jQuery.ajaxSettings.flatOptions || {}; |
| 8161 | for ( key in src ) { |
| 8162 | if ( src[ key ] !== undefined ) { |
| 8163 | ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; |
| 8164 | } |
| 8165 | } |
| 8166 | if ( deep ) { |
| 8167 | jQuery.extend( true, target, deep ); |
| 8168 | } |
| 8169 | } |
| 8170 | |
| 8171 | jQuery.fn.load = function( url, params, callback ) { |
| 8172 | if ( typeof url !== "string" && _load ) { |
no outgoing calls
no test coverage detected
searching dependent graphs…