[Pkg-javascript-commits] [pdf.js] 155/204: Fixes examples comments.
David Prévot
taffit at moszumanska.debian.org
Sat Oct 25 18:50:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 88d5fa0fc3ea3f1d51766362f7624c7d16749ef2
Author: Yury Delendik <ydelendik at mozilla.com>
Date: Tue Sep 30 15:42:28 2014 -0500
Fixes examples comments.
---
examples/components/simpleviewer.html | 2 +-
examples/components/simpleviewer.js | 11 ++++++-----
examples/learning/helloworld.html | 5 +++--
examples/learning/prevnext.html | 5 +++--
4 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/examples/components/simpleviewer.html b/examples/components/simpleviewer.html
index b1d6c9d..987a140 100644
--- a/examples/components/simpleviewer.html
+++ b/examples/components/simpleviewer.html
@@ -29,7 +29,7 @@ limitations under the License.
}
</style>
- <link rel="stylesheet" href="../../build/components/pdf_viewer.css"/>
+ <link rel="stylesheet" href="../../build/components/pdf_viewer.css">
<!-- for legacy browsers -->
<script src="../../build/components/compatibility.js"></script>
diff --git a/examples/components/simpleviewer.js b/examples/components/simpleviewer.js
index 1934a5a..139adfa 100644
--- a/examples/components/simpleviewer.js
+++ b/examples/components/simpleviewer.js
@@ -16,16 +16,17 @@
'use strict';
if (!PDFJS.PDFViewer || !PDFJS.getDocument) {
- alert('Please built the library and components using\n' +
- ' `node make generic components`');
+ alert('Please build the library and components using\n' +
+ ' `node make generic components`');
}
-// If pdf.js must be execute via eval or pdf.worker.js is located at the
-// different location than pdf.js, specify workerSrc.
+// In cases when the pdf.worker.js is located at the different folder than the
+// pdf.js's one, or the pdf.js is executed via eval(), the workerSrc property
+// shall be specified.
//
// PDFJS.workerSrc = '../../build/pdf.worker.js';
-// Some PDFs need external cmaps
+// Some PDFs need external cmaps.
//
// PDFJS.cMapUrl = '../../external/bcmaps/';
// PDFJS.cMapPacked = true;
diff --git a/examples/learning/helloworld.html b/examples/learning/helloworld.html
index 9518127..347dbbe 100644
--- a/examples/learning/helloworld.html
+++ b/examples/learning/helloworld.html
@@ -30,8 +30,9 @@
// PDFJS.disableWorker = true;
//
- // If pdf.js must be execute via eval or pdf.worker.js is located at the
- // different location than pdf.js, specify workerSrc.
+ // In cases when the pdf.worker.js is located at the different folder than the
+ // pdf.js's one, or the pdf.js is executed via eval(), the workerSrc property
+ // shall be specified.
//
// PDFJS.workerSrc = '../../build/pdf.worker.js';
diff --git a/examples/learning/prevnext.html b/examples/learning/prevnext.html
index 4ab65d9..0da467b 100644
--- a/examples/learning/prevnext.html
+++ b/examples/learning/prevnext.html
@@ -40,8 +40,9 @@
// PDFJS.disableWorker = true;
//
- // If pdf.js must be execute via eval or pdf.worker.js is located at the
- // different location than pdf.js, specify workerSrc.
+ // In cases when the pdf.worker.js is located at the different folder than the
+ // pdf.js's one, or the pdf.js is executed via eval(), the workerSrc property
+ // shall be specified.
//
// PDFJS.workerSrc = '../../build/pdf.worker.js';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list