mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Consistently use string
for string data types in JSDoc comments
Sometimes we also used `String`, but `string` is the what the JSDoc documentation recommends.
This commit is contained in:
parent
e75991b49e
commit
efd331daa1
6 changed files with 13 additions and 13 deletions
|
@ -189,7 +189,7 @@ class PDFLinkService {
|
|||
/**
|
||||
* Prefix the full url on anchor links to make sure that links are resolved
|
||||
* relative to the current URL instead of the one defined in <base href>.
|
||||
* @param {String} anchor The anchor hash, including the #.
|
||||
* @param {string} anchor The anchor hash, including the #.
|
||||
* @returns {string} The hyperlink to the PDF object.
|
||||
*/
|
||||
getAnchorUrl(anchor) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue