Commit cd1939b
committed
perf(tokenizer/prism): ensure async deps loading
As far as I know programmatically created scripts are always asynchronous by default.
Anyhow explicitly setting the async attribute to ensure that the scripts are loaded and executed without blocking the parsing of the HTML document.
Related: #391 parent 668a297 commit cd1939b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
301 | 302 | | |
302 | 303 | | |
303 | 304 | | |
| |||
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| 326 | + | |
325 | 327 | | |
326 | 328 | | |
327 | 329 | | |
| |||
0 commit comments