(key)
| 52 | }; |
| 53 | |
| 54 | function qs(key) { |
| 55 | /* eslint-disable-next-line no-useless-escape */ |
| 56 | key = key.replace(/[*+?^$.\[\]{}()|\\\/]/g, "\\$&"); // escape RegEx meta chars |
| 57 | var match = location.search.match(new RegExp("[?&]" + key + "=([^&]+)(&|$)")); |
| 58 | return match && decodeURIComponent(match[1].replace(/\+/g, " ")); |
| 59 | } |
| 60 | |
| 61 | |
| 62 | /** |
no outgoing calls
no test coverage detected