(params)
| 666 | } |
| 667 | } |
| 668 | function updateHistory(params) { |
| 669 | var baseUrl = [location.protocol, '//', location.host, location.pathname].join(''); |
| 670 | window.history.pushState({}, null, baseUrl + params); |
| 671 | } |
| 672 | // Explicitly save/update a url parameter using HTML5's replaceState(). |
| 673 | function updateQueryStringParam(key, value, defaultValue, urlQueryString) { |
| 674 | urlQueryString = urlQueryString || document.location.search; |
no outgoing calls
no test coverage detected