Merge pull request #11520 from Snuffleupagus/workerSrc-docs
Update the `GlobalWorkerOptions.workerSrc` JSDoc comment
This commit is contained in:
commit
1097fa156c
@ -25,12 +25,10 @@ GlobalWorkerOptions.workerPort =
|
|||||||
: GlobalWorkerOptions.workerPort;
|
: GlobalWorkerOptions.workerPort;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Path and filename of the worker file. Required when workers are enabled in
|
* A string containing the path and filename of the worker file.
|
||||||
* development mode. If unspecified in production builds, the worker will be
|
|
||||||
* loaded based on the location of the `pdf.js` file.
|
|
||||||
*
|
*
|
||||||
* NOTE: The `workerSrc` should always be set in custom applications, in order
|
* NOTE: The `workerSrc` option should always be set, in order to prevent any
|
||||||
* to prevent issues caused by third-party frameworks and libraries.
|
* issues when using the PDF.js library.
|
||||||
* @var {string}
|
* @var {string}
|
||||||
*/
|
*/
|
||||||
GlobalWorkerOptions.workerSrc =
|
GlobalWorkerOptions.workerSrc =
|
||||||
|
Loading…
Reference in New Issue
Block a user