Skip to content

Commit bb28e3d

Browse files
authored
Merge pull request #269 from github/fix-docs
Fix image link and alt text
2 parents e81d778 + e146bd4 commit bb28e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_guide/lazy-elements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ subtitle: Dynamically load elements just in time
55

66
A common practice in modern web development is to combine all JavaScript code into JS "bundles". By bundling the code together we avoid the network overhead of fetching each file. However the trade-off of bundling is that we might deliver JS code that will never run in the browser.
77

8-
![](/guide/devtools-coverage.png)
8+
![A screenshot from Chrome Devtools showing the Coverage panel. The panel has multiple request to JS assets and it shows that most of them have large chunks that are unused.](/catalyst/guide/devtools-coverage.png)
99

1010
An alternative solution to bundling is to load JavaScript just in time. Downloding the JavaScript for Catalyst controllers when the browser first encounters them can be done with the `lazyDefine` function.
1111

0 commit comments

Comments
 (0)