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

Function add

2.0.3/Core2.js:50–54  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

48 var prefix,
49 s = [],
50 add = function(key, value) {
51 // If value is a function, invoke it and return its value
52 value = jQuery.isFunction(value) ? value() : (value == null ? "" : value);
53 s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
54 };
55
56 // Set traditional to true for jQuery <= 1.3.2 behavior.
57 if (traditional === undefined) {

Callers 2

Core2.jsFile · 0.70
buildParamsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected