MCPcopy
hub / github.com/perkeep/perkeep / add

Function add

app/publisher/jquery.js:8995–9000  ·  view source on GitHub ↗
( key, value )

Source from the content-addressed store, hash-verified

8993 var prefix,
8994 s = [],
8995 add = function( key, value ) {
8996
8997 // If value is a function, invoke it and return its value
8998 value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
8999 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
9000 };
9001
9002 // Set traditional to true for jQuery <= 1.3.2 behavior.
9003 if ( traditional === undefined ) {

Callers 4

testOutOfOrderIndexingFunction · 0.85
TestFixMissingWholerefFunction · 0.85
jquery.jsFile · 0.85
buildParamsFunction · 0.85

Calls

no outgoing calls

Tested by 2

testOutOfOrderIndexingFunction · 0.68
TestFixMissingWholerefFunction · 0.68