Skip to content

Commit

Permalink
Fixed JSON/JSONP examples (#1765)
Browse files Browse the repository at this point in the history
This corrects my previous mistake where I forgot to adjust the example of JSON after changing the implementation of JSONP.
  • Loading branch information
RunDevelopment committed Feb 27, 2019
1 parent b5041cf commit ae4842d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/prism-json.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ <h2>Full example</h2>
"error": null,
"status": "Ok"
}</code></pre>

<h2>JSONP</h2>
<pre><code>callback({ "data": null });</code></pre>
2 changes: 2 additions & 0 deletions examples/prism-jsonp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h2>Callbacks</h2>
<pre><code>callback({ "data": null });</code></pre>

0 comments on commit ae4842d

Please sign in to comment.