Skip to content

Commit

Permalink
remove TODO - IE is no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-jackson committed May 14, 2024
1 parent 4754dab commit 157117d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/global/token.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ function createKey() {
}

function get(key) {
// TODO: currently no IE support for URLSearchParams (https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams#Browser_compatibility)
// check this out for further info: https://developers.google.com/web/updates/2016/01/urlsearchparams
// polyfill if needed (https://github.com/jerrybendy/url-search-params-polyfill) or the WebReflection one...
const defragged = new URL(location.href.replace('#', ''))
const params = new URLSearchParams(defragged.search)

Expand Down

0 comments on commit 157117d

Please sign in to comment.