catch(){location.assing} stashes erorrs
Opened this issue · 1 comments
a-x- commented
What about adding?:
typeof console !== 'undefined' && console.error && console.error('location.assign fallback', e);
also, we may be have to check error type
a-x- commented
i suggest lite form of PR: https://github.com/bem/bem-history/pull/27/files