Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an unedited sample not create a gist #608

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions fetch-api/fetch-post.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ <h3>Background</h3>
<p>This sample shows how the Fetch API can make POST requests.</p>

<textarea autofocus id="gist" cols="80" rows="10">
// Enter some JavaScript here
// e.g
</textarea>
<script>
document.getElementById("gist").placeholder = "// Enter some JavaScript here\n// e.g\n";
</script>
<p><button>Create new GitHub Gist</button></p>

{% include output_helper.html %}
Expand Down