Dynamic script async=false condition correction
This commit is contained in:
parent
bd8e8a9bdd
commit
62e8e70987
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ That is:
|
|||
- They don't wait for anything, nothing waits for them.
|
||||
- The script that loads first -- runs first ("load-first" order).
|
||||
|
||||
This can be changed if we explicitly set `script.async=true`. Then scripts will be executed in the document order, just like `defer`.
|
||||
This can be changed if we explicitly set `script.async=false`. Then scripts will be executed in the document order, just like `defer`.
|
||||
|
||||
In this example, `loadScript(src)` function adds a script and also sets `async` to `false`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue