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

tiny changes: spelling and consistency#3416

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
tylerl wants to merge1 commit intojavascript-tutorial:master
base:master
Choose a base branch
Loading
fromtylerl:patch-1

Conversation

tylerl
Copy link

@tylerltylerl commentedMar 27, 2023
edited
Loading

Spelling:
optimzed ->optimized

Consistency:
Import * ->Import "*"

For consistency withImport "as" andExport "as". Also -- as-is it looks likeImport * is justImport with a footnote. It had me confused for several minutes.

NB: This shouldn't affect links, since neither* nor quotes are reflected in the link fragment. The URL is simply/import-export#import either way.

Spelling:`optimzed` -> `optimized`Consistency: `Import *` -> `Import "*"` For consistency with `Import "as" and `Export "as"`.Also -- as-is it looks like `Import *` is just `Import` with a footnote. It had me confused for several minutes.NB: This shouldn't affect links, since neither `*` nor quotes are reflected in the link fragment. The URL is simply `/import-export#import` either way.
@CLAassistant
Copy link

CLAassistant commentedMar 27, 2023
edited
Loading

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@shallow-beachshallow-beach left a comment
edited
Loading

Choose a reason for hiding this comment

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

thank you for contributions!

(vote to close)

@@ -63,7 +63,7 @@ export {sayHi, sayBye}; // a list of exported variables

...Or, technically we could put `export` above functions as well.

## Import*
## Import"*"
Copy link
Contributor

Choose a reason for hiding this comment

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

disagree. all footnotes are signified with(*), and this diverges from typical JS syntax

@@ -99,7 +99,7 @@ Well, there are few reasons.
```smart header="Don't be afraid to import too much"
Modern build tools, such as [webpack](https://webpack.js.org/) and others, bundle modules together and optimize them to speedup loading. They also removed unused imports.

For instance, if you `import * as library` from a huge code library, and then use only few methods, then unused ones [will not be included](https://github.com/webpack/webpack/tree/main/examples/harmony-unused#examplejs) into theoptimzed bundle.
For instance, if you `import * as library` from a huge code library, and then use only few methods, then unused ones [will not be included](https://github.com/webpack/webpack/tree/main/examples/harmony-unused#examplejs) into theoptimized bundle.
Copy link
Contributor

Choose a reason for hiding this comment

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

duplicate of#3413

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

@shallow-beachshallow-beachshallow-beach left review comments

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
@tylerl@CLAassistant@shallow-beach

[8]ページ先頭

©2009-2025 Movatter.jp