MCPcopy Create free account
hub / github.com/sql-js/sql.js / ajaxExtend

Function ajaxExtend

documentation/javascript/application.js:8158–8169  ·  view source on GitHub ↗
( target, src )

Source from the content-addressed store, hash-verified

8156// that takes "flat" options (not to be deep extended)
8157// Fixes #9887
8158function 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
8171jQuery.fn.load = function( url, params, callback ) {
8172 if ( typeof url !== "string" && _load ) {

Callers 1

application.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…