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

remove un-needed promise allocations in example #120

Merged
merged 1 commit into from
Apr 13, 2015
Merged

remove un-needed promise allocations in example #120

merged 1 commit into from
Apr 13, 2015

Conversation

calebboyd
Copy link
Contributor

No description provided.

@domenic
Copy link

domenic commented Apr 13, 2015

Strong +1

josh added a commit that referenced this pull request Apr 13, 2015
remove un-needed promise allocations in example
@josh josh merged commit 9d08342 into JakeChampion:master Apr 13, 2015
@calebboyd calebboyd deleted the patch-1 branch April 13, 2015 21:46
@@ -117,10 +117,9 @@ resolved only on successful, 200 level, status codes.
```javascript
function status(response) {
if (response.status >= 200 && response.status < 300) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you could also change this to if (response.ok) {… but then perhaps it would not be clear what's doing anymore……

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2020
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