(path, key)
| 2370 | } |
| 2371 | |
| 2372 | function stripQueryStringValueFromPath(path, key) { |
| 2373 | return path.replace(new RegExp('[?&]?' + key + '=[a-zA-Z0-9]+'), ''); |
| 2374 | } |
| 2375 | |
| 2376 | function getQueryStringValueFromPath(path, key) { |
| 2377 | var match = path.match(new RegExp('\\?.*?\\b' + key + '=(.+?)\\b')); |
no outgoing calls
no test coverage detected
searching dependent graphs…