MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / add

Function add

OpenReservation/wwwroot/Scripts/jquery-1.10.2.js:7405–7409  ·  view source on GitHub ↗
(key, value)

Source from the content-addressed store, hash-verified

7403 var prefix,
7404 s = [],
7405 add = function (key, value) {
7406 // If value is a function, invoke it and return its value
7407 value = jQuery.isFunction(value) ? value() : (value == null ? "" : value);
7408 s[s.length] = encodeURIComponent(key) + "=" + encodeURIComponent(value);
7409 };
7410
7411 // Set traditional to true for jQuery <= 1.3.2 behavior.
7412 if (traditional === undefined) {

Callers 2

jquery-1.10.2.jsFile · 0.85
buildParamsFunction · 0.85

Calls 1

valueFunction · 0.85

Tested by

no test coverage detected