Skip to content

Improve jqXHR documentation#1020

Closed
gibson042 wants to merge 5 commits into
jquery:masterfrom
gibson042:gh-1019
Closed

Improve jqXHR documentation#1020
gibson042 wants to merge 5 commits into
jquery:masterfrom
gibson042:gh-1019

Conversation

@gibson042
Copy link
Copy Markdown
Member

Fixes gh-1019

Comment thread entries/jQuery.ajax.xml
<code>getAllResponseHeaders()</code>
<code>abort( [ statusText ] )</code>
</li>
<li>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it worth adding "as a string" here? The others don't talk about return types in general.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Absent prior knowledge, I'd expect getAllResponseHeaders() to return a map. This clarifies that to not be the case.

@AurelioDeRosa
Copy link
Copy Markdown
Member

Should I keep all the commits here or should I fix up them?

@gibson042
Copy link
Copy Markdown
Member Author

They'll always be distinct here; I'm not opposed to a landing them on master as a single unit.

@AurelioDeRosa
Copy link
Copy Markdown
Member

Yeah, my question was basically if there was any preference on how to merge them in master.

@gibson042
Copy link
Copy Markdown
Member Author

I personally prefer the squashed representation, and that's also our standard in Core and QUnit.

@mgol
Copy link
Copy Markdown
Member

mgol commented Mar 6, 2017

Is anything blocking landing this?

@kswedberg
Copy link
Copy Markdown
Member

@mgol Not that I'm aware of. LGTM

@mgol mgol closed this in b7ec850 Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants