Skip to content

Commit e4db25e

Browse files
committed
Update function descriptions
1 parent 39d16db commit e4db25e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/_static/javascripts/version_dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function href(url, path) {
1414
await fetch(url).then(onResponse).catch(onError);
1515

1616
/**
17-
* Success handler.
17+
* Callback invoked upon successfully resolving a resource.
1818
*
1919
* @private
2020
* @param {Object} response - response object
@@ -27,7 +27,7 @@ async function href(url, path) {
2727
}
2828

2929
/**
30-
* Error handler.
30+
* Callback invoked upon failing to resolve a resource.
3131
*
3232
* @private
3333
* @param {Error} error - error object

0 commit comments

Comments
 (0)