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

FEATURE: non-supported browser "then" support #8

Open
stevebuik opened this issue Jan 7, 2017 · 0 comments
Open

FEATURE: non-supported browser "then" support #8

stevebuik opened this issue Jan 7, 2017 · 0 comments

Comments

@stevebuik
Copy link
Owner

Lightning provides promises for supported browsers but what about un-supported. For Lightning running in sites/communities, users could use any browser.

Ideally tests with promises can run for any browser so that they can be used to check all browsers (which can be automated using Sauce Labs)

It should be possible to check for Promise and, if not there, then include an extra lib that implements it for all browsers (looking at you IE8)

The tricky part will be finding a lib that works in LockerService. I already tried bluebird.js but couldn't make it work. The alternative will be to write a simple implementation with just enough then support - there are articles on the web showing how to to do this.

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

1 participant