Skip to content

Commit

Permalink
Fixes examples comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik committed Sep 30, 2014
1 parent dfd23b5 commit 88d5fa0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/components/simpleviewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
}
</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>
Expand Down
11 changes: 6 additions & 5 deletions examples/components/simpleviewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions examples/learning/helloworld.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ <h1>'Hello, world!' example</h1>
// 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';

Expand Down
5 changes: 3 additions & 2 deletions examples/learning/prevnext.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ <h1>'Previous/Next' example</h1>
// 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';

Expand Down

0 comments on commit 88d5fa0

Please sign in to comment.