Skip to content

Conversation

gero3
Copy link

@gero3 gero3 commented Jun 9, 2015

This adds promise support when no callback is given.

@gh0stonio
Copy link

+1

globalObject.Promise.hasOwnProperty("resolve") &&
globalObject.Promise.hasOwnProperty("reject") &&
globalObject.Promise.hasOwnProperty("all") &&
globalObject.Promise.hasOwnProperty("race") &&

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you testing for all these methods on Promise? You use exactly none of them!

Drop lines 23-30.

EDIT: Drop lines 25-30

@jamestalmage
Copy link

@mikedeboer see #262, I think it is the better solution.

@gero3
Copy link
Author

gero3 commented Jun 30, 2015

See #262 for a better implementation

@gero3 gero3 closed this Jun 30, 2015
@gr2m
Copy link
Contributor

gr2m commented Oct 25, 2017

Hey folks, we plan to drop support for the custom Promise option altogether. If that causes any trouble for you, could you please let me know at #622?

Thanks :)

@octokit octokit locked and limited conversation to collaborators Oct 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants