MCPcopy Create free account
hub / github.com/TruthHun/BookStack / add

Function add

static/jquery/1.12.4/jquery.js:10070–10075  ·  view source on GitHub ↗
( key, value )

Source from the content-addressed store, hash-verified

10068 var prefix,
10069 s = [],
10070 add = function( key, value ) {
10071
10072 // If value is a function, invoke it and return its value
10073 value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
10074 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
10075 };
10076
10077 // Set traditional to true for jQuery <= 1.3.2 behavior.
10078 if ( traditional === undefined ) {

Callers 2

jquery.jsFile · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected