(str)
| 584 | } |
| 585 | |
| 586 | function encodeReserved(str) { |
| 587 | return str.split(/(%[0-9A-Fa-f]{2})/g).map(function (part) { |
| 588 | if (!/%[0-9A-Fa-f]/.test(part)) { |
| 589 | part = encodeURI(part); |
| 590 | } |
| 591 | return part; |
| 592 | }).join(''); |
| 593 | } |
| 594 | |
| 595 | function template (options) { |
| 596 |
no outgoing calls
no test coverage detected