This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getAllUrlParams(url) { | |
| // get query string from url (optional) or window | |
| var queryString = url ? url.split('?')[1] : window.location.search.slice(1); | |
| // we'll store the parameters here | |
| var obj = {}; | |
| // if query string exists | |
| if (queryString) { |