MCPcopy Index your code
hub / github.com/JsAaron/jQuery / ajaxExtend

Function ajaxExtend

1.7/ajax.js:144–155  ·  view source on GitHub ↗
( target, src )

Source from the content-addressed store, hash-verified

142// that takes "flat" options (not to be deep extended)
143// Fixes #9887
144function ajaxExtend( target, src ) {
145 var key, deep,
146 flatOptions = jQuery.ajaxSettings.flatOptions || {};
147 for ( key in src ) {
148 if ( src[ key ] !== undefined ) {
149 ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];
150 }
151 }
152 if ( deep ) {
153 jQuery.extend( true, target, deep );
154 }
155}
156
157jQuery.fn.extend({
158 load: function( url, params, callback ) {

Callers 1

ajax.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected