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

Function add

2.1.1/test/other.js:5861–5865  ·  view source on GitHub ↗
( key, value )

Source from the content-addressed store, hash-verified

5859 var prefix,
5860 s = [],
5861 add = function( key, value ) {
5862 // If value is a function, invoke it and return its value
5863 value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
5864 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
5865 };
5866
5867 // Set traditional to true for jQuery <= 1.3.2 behavior.
5868 if ( traditional === undefined ) {

Callers 2

other.jsFile · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected