MCPcopy
hub / github.com/mongodb/node-mongodb-native / add

Function add

docs/2.2/js/jquery.js:7497–7501  ·  view source on GitHub ↗
( key, value )

Source from the content-addressed store, hash-verified

7495 var prefix,
7496 s = [],
7497 add = function( key, value ) {
7498 // If value is a function, invoke it and return its value
7499 value = jQuery.isFunction( value ) ? value() : ( value == null ? "" : value );
7500 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
7501 };
7502
7503 // Set traditional to true for jQuery <= 1.3.2 behavior.
7504 if ( traditional === undefined ) {

Callers 2

jquery.jsFile · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected