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

Add 'catch' to Promise api #377

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sjungwirth
Copy link

Adding for consistency with native Promise objects for better use with code expecting a standard promise.

@MrSwitch
Copy link
Owner

Only thing was 'catch' is a reserved word in ECMAScript 3, IE8 & 9 require this written in brackets e.g. this['catch'].bind() rather than the dot notation.

Sorry about CI failing, testing server script needs attention. Let me get that working first.

@sjungwirth
Copy link
Author

OK, fixed that one you mentioned and two others.

@sjungwirth
Copy link
Author

Hi @MrSwitch anything else you would like me to update for this PR?

@MrSwitch
Copy link
Owner

Nope, looks ok. I haven't had a chance to sanity check it on older browsers. What have you tested it in thus far?

@sjungwirth
Copy link
Author

Hi @MrSwitch, I've tested this in latest Chrome, FF and IE11.

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

Successfully merging this pull request may close these issues.

2 participants