Skip to content

Commit

Permalink
Docs: remove use of <a> element
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Nov 1, 2017
1 parent 294ada0 commit aa10bb7
Show file tree
Hide file tree
Showing 52 changed files with 130 additions and 130 deletions.
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.6/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v1.17.6/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`"stub.onCall(n);` *Added in v1.8*
#### `"stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v1.17.7/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v1.17.7/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.0.0/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.0.0/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.1.0/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.1.0/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.2.0/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.2.0/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.3.0/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.3.0/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.3.1/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.3.1/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.3.2/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.3.2/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.3.3/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down
8 changes: 4 additions & 4 deletions docs/_releases/v2.3.3/stubs.md
Expand Up @@ -8,7 +8,7 @@ breadcrumb: stubs

Test stubs are functions (spies) with pre-programmed behavior.

They support the full <a href="../spies">test spy API</a> in addition to methods which can be used to alter the stub's behavior.
They support the full [test spy API](../spies) in addition to methods which can be used to alter the stub's behavior.

As spies, stubs can be either anonymous, or wrap existing functions. When
wrapping an existing function with a stub, the original function is not called.
Expand Down Expand Up @@ -51,13 +51,13 @@ before one of the other callbacks.

Calling behavior defining methods like `returns` or `throws` multiple times
overrides the behavior of the stub. As of Sinon version 1.8, you can use the
[`onCall`](#stub-onCall) method to make a stub respond differently on
[`onCall`](#stuboncalln-added-in-v18) method to make a stub respond differently on
consecutive calls.

Note that in Sinon version 1.5 to version 1.7, multiple calls to the `yields*`
and `callsArg*` family of methods define a sequence of behaviors for consecutive
calls. As of 1.8, this functionality has been removed in favor of the
[`onCall`](#stub-onCall) API.
[`onCall`](#stuboncalln-added-in-v18) API.

[pubsubjs]: https://github.com/mroderick/pubsubjs

Expand Down Expand Up @@ -114,7 +114,7 @@ This is useful to be more expressive in your assertions, where you can access th
}
```

#### <a name="stub-onCall"></a>`stub.onCall(n);` *Added in v1.8*
#### `stub.onCall(n);` *Added in v1.8*

Defines the behavior of the stub on the *nth* call. Useful for testing sequential interactions.

Expand Down
2 changes: 1 addition & 1 deletion docs/_releases/v2.3.4/spies.md
Expand Up @@ -73,7 +73,7 @@ all calls. The following is a slightly contrived example:
<dd>Spies on the provided function</dd>
<dt><code>var spy = sinon.spy(object, "method");</code></dt>
<dd>
Creates a <a href="#spyprops">spy</a> for <code>object.method</code> and
Creates a spy for <code>object.method</code> and
replaces the original method with the spy. An exception is thrown if the property
is not already a function. The spy acts exactly like the original method in
all cases. The original method can be restored by calling
Expand Down

0 comments on commit aa10bb7

Please sign in to comment.