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

SDK not working on IE10 due to "extend Array" using Array.form #66

Closed
bensonby opened this issue Sep 9, 2016 · 0 comments
Closed

SDK not working on IE10 due to "extend Array" using Array.form #66

bensonby opened this issue Sep 9, 2016 · 0 comments
Assignees

Comments

@bensonby
Copy link
Contributor

bensonby commented Sep 9, 2016

Console error message:
Unhandled promise rejectionTypeError: Object doesn't support property or method 'from'

Reason

The section about classes in https://babeljs.io/docs/usage/caveats/

The class QueryResult extends Array in lib/query_result.js, and it uses the static method Array.from through QueryResult.from

Possible fix

http://babeljs.io/docs/plugins/transform-proto-to-assign/

Steps to reproduce

Open any website written with skygear JS SDK on IE10. When there is a query, the error message will appear

@ben181231 ben181231 self-assigned this Sep 9, 2016
ben181231 pushed a commit to ben181231/skygear-SDK-JS that referenced this issue Sep 12, 2016
ben181231 pushed a commit to ben181231/skygear-SDK-JS that referenced this issue Sep 12, 2016
rickmak added a commit that referenced this issue Sep 13, 2016
@royuen royuen closed this as completed Sep 19, 2016
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

3 participants