Skip to content

Commit 3cb134f

Browse files
authored
Merge pull request #2307 from vsemozhetbyt/patch-11
Fis typo in 2.5.2 (Scripts: async, defer)
2 parents 23da191 + 0bdacaf commit 3cb134f

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ The `async` attribute means that a script is completely independent:
103103
- `DOMContentLoaded` may happen both before an async script (if an async script finishes loading after the page is complete)
104104
- ...or after an async script (if an async script is short or was in HTTP-cache)
105105
106-
In other words, `async` scripts load in the background and run when ready. The DOM and other scripts don't wait for them, and they don't wait for anything. A fully independent script that runs when loaded. As simple, at it can get, right?
106+
In other words, `async` scripts load in the background and run when ready. The DOM and other scripts don't wait for them, and they don't wait for anything. A fully independent script that runs when loaded. As simple, as it can get, right?
107107
108108
Here's an example similar to what we've seen with `defer`: two scripts `long.js` and `small.js`, but now with `async` instead of `defer`.
109109

0 commit comments

Comments
 (0)