Merge pull request #9360 from mmcev106/master

Fixed a javascript error in the mobile viewer example that prevented …
This commit is contained in:
Jonas Jenwald 2018-01-17 11:32:48 +01:00 committed by GitHub
commit 2bc3d0ff91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@
'use strict';
if (!PDFJS.PDFViewer || !PDFJS.getDocument) {
if (typeof PDFJS === 'undefined' || !PDFJS.PDFViewer || !PDFJS.getDocument) {
alert('Please build the pdfjs-dist library using\n' +
' `gulp dist-install`');
}