(key, value)
| 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) { |
no outgoing calls
no test coverage detected