Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The code breaks on IE9 #3

Open
sbaechler opened this issue Dec 17, 2014 · 5 comments
Open

The code breaks on IE9 #3

sbaechler opened this issue Dec 17, 2014 · 5 comments

Comments

@sbaechler
Copy link

IE9 does not support __defineGetter__. It throws a Javascript error.

@lo1tuma
Copy link

lo1tuma commented Oct 23, 2015

I have the same problem

@coolaj86
Copy link
Owner

Wait a second. This is the node polyfill... what's the use case for using a node polyfill in the browser?

@lo1tuma
Copy link

lo1tuma commented Oct 23, 2015

In my case I used it in an isomorphic module, so if the code runs in node then the polyfill is required, if it runs in the browser then the native localStorage object is used.

Anyway, I switched to different library - so feel free to close this issue.

@coolaj86
Copy link
Owner

You shouldn't need to use a library for localStorage - unless you have empirical evidence that you have users that are using the Wii Console or Symbian phones or something really old and weird. In that case you might be able to use remoteStorage.

for future reference to future googlers:

If you're trying to use this library in the browser you're doing it wrong

@chernysh
Copy link

@lo1tuma Hi! I have similar problem. What is the name of different library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants