Skip to content

Commit 075e041

Browse files
authored
Merge pull request #2243 from Youngjin-KimY/patch-1
modify typo
2 parents dc415a6 + 98d1dc9 commit 075e041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/5-loading/02-script-async-defer/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Let's say, we have two deferred scripts: the `long.js` and then `small.js`:
8383

8484
Browsers scan the page for scripts and download them in parallel, to improve performance. So in the example above both scripts download in parallel. The `small.js` probably finishes first.
8585

86-
...But the `defer` atribute, besides telling the browser "not to block", ensures that the relative order is kept. So even though `small.js` loads first, it still waits and runs after `long.js` executes.
86+
...But the `defer` attribute, besides telling the browser "not to block", ensures that the relative order is kept. So even though `small.js` loads first, it still waits and runs after `long.js` executes.
8787

8888
That may be important for cases when we need to load a JavaScript library and then a script that depends on it.
8989

0 commit comments

Comments
 (0)