Skip to content

Commit

Permalink
infra(prefetch.mjs): add jsdoc for third-arg to prefetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Dec 14, 2018
1 parent ba74f11 commit c5ed343
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/prefetch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ const supportedPrefetchStrategy = support('prefetch')
* Prefetch a given URL with an optional preferred fetch priority
* @param {String} url - the URL to fetch
* @param {Boolean} isPriority - if is "high" priority
* @param {Object} conn - navigator.connection (internal)
* @return {Object} a Promise
*/
function prefetcher(url, isPriority, conn) {
Expand Down

0 comments on commit c5ed343

Please sign in to comment.