Skip to content

Commit

Permalink
Docs: remove use of <pre> tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mroderick committed Nov 1, 2017
1 parent 77e5d31 commit 294ada0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/_releases/v1.17.6/sandbox.md
Expand Up @@ -61,9 +61,9 @@ sinon.defaultConfig = {
<dt><code>useFakeServer</code></dt>
<dd>If <code>true</code>, <code>server</code> and <code>requests</code> properties are added to the sandbox. Can also be an object to use for fake server. The default one is <code>sinon.fakeServer</code>, but if you're using jQuery 1.3.x or some other library that does not set the XHR's <code>onreadystatechange</code> handler, you might want to do:

<pre class="code-snippet" data-lang="javascript"><code>sinon.config = {
<code>sinon.config = {
useFakeServer: sinon.fakeServerWithClock
};</code></pre></dd>
};</code></dd>
</dl>


Expand Down
4 changes: 2 additions & 2 deletions docs/_releases/v1.17.7/sandbox.md
Expand Up @@ -61,9 +61,9 @@ sinon.defaultConfig = {
<dt><code>useFakeServer</code></dt>
<dd>If <code>true</code>, <code>server</code> and <code>requests</code> properties are added to the sandbox. Can also be an object to use for fake server. The default one is <code>sinon.fakeServer</code>, but if you're using jQuery 1.3.x or some other library that does not set the XHR's <code>onreadystatechange</code> handler, you might want to do:

<pre class="code-snippet" data-lang="javascript"><code>sinon.config = {
<code>sinon.config = {
useFakeServer: sinon.fakeServerWithClock
};</code></pre></dd>
};</code></dd>
</dl>


Expand Down

0 comments on commit 294ada0

Please sign in to comment.