Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding script tags for abort fetch snippet#12

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rhygg wants to merge2 commits intoroeib:master
base:master
Choose a base branch
Loading
fromrhygg:patch-1

Conversation

rhygg
Copy link

@rhyggrhygg commentedJun 23, 2021
edited
Loading

Why?

Since this is vanilla JS you can put it under<script></script> tags, so that it's easier to understand what's going on. Moreover the syntax highlight for the html snippet breaks due to the syntax highlight being configured to javascript. Keeping the syntax highlight to html keeps the highlight for html and javascript intact.

Copy link

@longqua69longqua69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Your intention is good. It makes the snippet easier to understand. Removing the redundant space makes it better

README.md Outdated
<button id="download">Download</button>
<button id="abort">Abort</button>
<button id="abort">Abort</button>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think you should remove the redundant space for aligning.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Yeah. sure.

longqua69 reacted with thumbs up emoji
Copy link

@longqua69longqua69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Cool. Now it's time to merge

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@longqua69longqua69longqua69 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@rhygg@longqua69@sksmta

[8]ページ先頭

©2009-2025 Movatter.jp