Skip to content

Commit

Permalink
Docs: fix invalid syntax of backticks in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Nov 1, 2017
1 parent 579e029 commit b14a261
Show file tree
Hide file tree
Showing 24 changed files with 98 additions and 98 deletions.
8 changes: 4 additions & 4 deletions docs/_releases/v1.17.6/fake-xhr-and-server.md
Expand Up @@ -49,7 +49,7 @@ after the first file.

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -160,7 +160,7 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above two methods and sets the `status` and `statusText` properties.

Expand Down Expand Up @@ -222,7 +222,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v1.17.7/fake-xhr-and-server.md
Expand Up @@ -49,7 +49,7 @@ after the first file.

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -160,7 +160,7 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above two methods and sets the `status` and `statusText` properties.

Expand Down Expand Up @@ -222,7 +222,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.0.0/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.2.0/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.3.0/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.3.1/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.3.2/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.3.3/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down
10 changes: 5 additions & 5 deletions docs/_releases/v2.3.4/fake-xhr-and-server.md
Expand Up @@ -43,7 +43,7 @@ The fake server and XHR can be used completely stand-alone by downloading `sinon

### `sinon.useFakeXMLHttpRequest`

#### var xhr = sinon.useFakeXMLHttpRequest();"
#### `var xhr = sinon.useFakeXMLHttpRequest();`

Causes Sinon to replace the native `XMLHttpRequest` object in browsers that support it with a custom implementation which does not send actual requests.

Expand Down Expand Up @@ -154,13 +154,13 @@ The filter will be called when `xhr.open` is called, with the exact same argumen

### Simulating server responses

#### `request.setStatus(status);``
#### `request.setStatus(status);`

Sets response status (`status` and `statusText` properties).

Status should be a number, the status text is looked up from `sinon.FakeXMLHttpRequest.statusCodes`.

#### `request.setResponseHeaders(object);``
#### `request.setResponseHeaders(object);`

Sets response headers (e.g. `{ "Content-Type": "text/html", /* ... */ }`, updates the `readyState` property and fires `onreadystatechange`.

Expand All @@ -172,7 +172,7 @@ Sets the respond body, updates the `readyState` property and fires `onreadystate
Additionally, populates `responseXML` with a parsed document if [response headers indicate as much](http://www.w3.org/TR/XMLHttpRequest/).


#### `request.respond(status, headers, body);``
#### `request.respond(status, headers, body);`

Calls the above three methods.

Expand Down Expand Up @@ -225,7 +225,7 @@ High-level API to manipulate `FakeXMLHttpRequest` instances.
```


#### `var server = sinon.fakeServer.create([config]);``
#### `var server = sinon.fakeServer.create([config]);`

Creates a new server.

Expand Down

0 comments on commit b14a261

Please sign in to comment.