javascript - Angular-locker Safari Private Browsing -


we're using third party wrapper around local/session storage called angular-locker.

we need able support safari private browsing in our project if storage isn't supported, browser throws js exception , our angular app doesn't initialize. i've noticed use of remy's polyfill plug , play script? how supposed use in project?

currently fallback $cookies using locker.issupported() don't understand point of function if can't call or check it?

solved problem similar gist.

the solution override of decorator functions using $cachefactory, if driver not able intialized. switched using $cachefactory $cookies instead.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -