From 7563a9dfa0dcfa28c5d91ad223ba98770d5e571c Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Mon, 18 Nov 2013 14:37:01 -0800 Subject: [PATCH] Update docs on the workerSrc setting. --- examples/helloworld/index.html | 3 ++- src/display/api.js | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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;