Skip to content

Commit ae4842d

Browse files
Fixed JSON/JSONP examples (#1765)
This corrects my previous mistake where I forgot to adjust the example of JSON after changing the implementation of JSONP.
1 parent b5041cf commit ae4842d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/prism-json.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ <h2>Full example</h2>
1414
"error": null,
1515
"status": "Ok"
1616
}</code></pre>
17-
18-
<h2>JSONP</h2>
19-
<pre><code>callback({ "data": null });</code></pre>

examples/prism-jsonp.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<h2>Callbacks</h2>
2+
<pre><code>callback({ "data": null });</code></pre>

0 commit comments

Comments
 (0)