-
Notifications
You must be signed in to change notification settings - Fork 586
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
JavaScript issue in IE12 or lower #359
Comments
IE supports try..catch..finally since ie6. I think the issue lies within your control flow that handles the result of addToLocalStorage. Could you share your implementation? I confirmed compatibility with ie9 and ie10 using this fiddle: https://jsfiddle.net/x78novpf/2/. |
Hi, yes, try..finally works well but in this case fails inside http calback function only. And some functions with try...finally not all parts return data. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, some errors in javascript
Versions:
Case:
Inside callback function, localStorage plugin call "finally" clause after try catch. This not work in IE 12-
For solve this, please use try catch correcly -if is possible- and return in every function a default object if it is fail.
Example:
Current code
Working code
thanks
The text was updated successfully, but these errors were encountered: