diff --git a/examples/helloworld/index.html b/examples/helloworld/index.html index 9a70e7ae4..35ddf2838 100644 --- a/examples/helloworld/index.html +++ b/examples/helloworld/index.html @@ -16,7 +16,8 @@ diff --git a/src/display/api.js b/src/display/api.js index 56c497916..47a785be1 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -56,7 +56,9 @@ PDFJS.disableWorker = PDFJS.disableWorker === undefined ? false : PDFJS.disableWorker; /** - * Path and filename of the worker file. Required when the worker is enabled. + * Path and filename of the worker file. Required when the worker is enabled in + * development mode. If unspecified in the production build, the worker will be + * loaded based on the location of the pdf.js file. * @var {String} */ PDFJS.workerSrc = PDFJS.workerSrc === undefined ? null : PDFJS.workerSrc;