MCPcopy Index your code
hub / github.com/unconed/TermKit / add

Function add

HTML/jquery.js:7326–7330  ·  view source on GitHub ↗
( key, value )

Source from the content-addressed store, hash-verified

7324 param: function( a, traditional ) {
7325 var s = [],
7326 add = function( key, value ) {
7327 // If value is a function, invoke it and return its value
7328 value = jQuery.isFunction( value ) ? value() : value;
7329 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
7330 };
7331
7332 // Set traditional to true for jQuery <= 1.3.2 behavior.
7333 if ( traditional === undefined ) {

Callers 2

jquery.jsFile · 0.70
buildParamsFunction · 0.70

Calls 1

valueFunction · 0.85

Tested by

no test coverage detected