Skip to content

Commit cd65bd3

Browse files
committed
Refine doc block
1 parent 9b5f985 commit cd65bd3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugins/optimization-detective/detect-loader.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/**
2-
* Loads the detect logic after the page has loaded to prevent a high-priority script module network request from competing with other critical resources.
2+
* Loads the detect module after the page has loaded.
33
*
4-
* This JavaScript file must be contain a single top-level function which is not exported. The file is inlined as part of another module which wraps the module in an IIFE.
4+
* This prevents a high-priority script module network request from competing with other critical resources. This
5+
* JavaScript file must contain a single top-level function which is not exported. The file is inlined as part of
6+
* another module which wraps the function in an IIFE.
57
*
68
* @param {string} detectSrc
79
* @param {Object} detectArgs

0 commit comments

Comments
 (0)