Skip to content

Commit 06b1ac0

Browse files
committed
Remove <em> from examples because they were escaped.
1 parent 3ea0ddc commit 06b1ac0

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

entries/jQuery.get.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
<longdesc>
2121
<p>This is a shorthand Ajax function, which is equivalent to:</p>
2222
<pre><code>$.ajax({
23-
url: <em>url</em>,
24-
data: <em>data</em>,
25-
success: <em>success</em>,
26-
dataType: <em>dataType</em>
23+
url: url,
24+
data: data,
25+
success: success,
26+
dataType: dataType
2727
});
2828
</code></pre>
2929
<p>The <code>success</code> callback function is passed the returned data, which will be an XML root element, text string, JavaScript file, or JSON object, depending on the MIME type of the response. It is also passed the text status of the response. </p>

entries/jQuery.getJSON.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<longdesc>
1818
<p>This is a shorthand Ajax function, which is equivalent to:</p>
1919
<pre><code>$.ajax({
20-
url: <em>url</em>,
21-
dataType: 'json',
22-
data: <em>data</em>,
23-
success: <em>callback</em>
20+
dataType: "json",
21+
url: url,
22+
data: data,
23+
success: success
2424
});
2525
</code></pre>
2626
<p>Data that is sent to the server is appended to the URL as a query string. If the value of the <code>data</code> parameter is a plain object, it is converted to a string and url-encoded before it is appended to the URL.</p>

entries/jQuery.getScript.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
<longdesc>
1515
<p>This is a shorthand Ajax function, which is equivalent to:</p>
1616
<pre><code>$.ajax({
17-
url: <em>url</em>,
17+
url: url,
1818
dataType: "script",
19-
success: <em>success</em>
19+
success: success
2020
});
2121
</code></pre>
2222
<p>The script is executed in the global context, so it can refer to other variables and use jQuery functions. Included scripts can have some impact on the current page.</p>

entries/jQuery.post.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
<longdesc>
2121
<p>This is a shorthand Ajax function, which is equivalent to:</p>
2222
<pre><code>$.ajax({
23-
type: 'POST',
24-
url: <em>url</em>,
25-
data: <em>data</em>,
26-
success: <em>success</em>,
27-
dataType: <em>dataType</em>
23+
type: "POST",
24+
url: url,
25+
data: data,
26+
success: success,
27+
dataType: dataType
2828
});
2929
</code></pre>
3030
<p>The <code>success</code> callback function is passed the returned data, which will be an XML root element or a text string depending on the MIME type of the response. It is also passed the text status of the response.</p>

0 commit comments

Comments
 (0)