Closed kennethlynne closed 9 years ago
On some safari devices the browser tells the app that localStorage is available, but throws an exception when you actually try to use it. try, catch and fall back to use memory to allow users to log in without persisting token.
But doesn't $localStorage have a fallback on sessionstorage?
Fuck this shit.
On some safari devices the browser tells the app that localStorage is available, but throws an exception when you actually try to use it. try, catch and fall back to use memory to allow users to log in without persisting token.