* * @param {string} base * @param {string} url * @returns {string} returns text from `url` after `base` or `undefined` if it does not begin with * the expected string.
(base, url)
| 13870 | * the expected string. |
| 13871 | */ |
| 13872 | function stripBaseUrl(base, url) { |
| 13873 | if (startsWith(url, base)) { |
| 13874 | return url.substr(base.length); |
| 13875 | } |
| 13876 | } |
| 13877 | |
| 13878 | |
| 13879 | function stripHash(url) { |
no test coverage detected