You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there not enough PDF.JS to learn without trying to work out the System.JS stuff?
// In production, the bundled pdf.js shall be used instead of SystemJS.
Promise.all([System.import('pdfjs/display/api'),
System.import('pdfjs/display/worker_options'),
System.import('pdfjs/display/network'),
System.resolve('pdfjs/worker_loader')])
.then(function (modules) {
var api = modules[0];
var GlobalWorkerOptions = modules[1].GlobalWorkerOptions;
var network = modules[2];
The text was updated successfully, but these errors were encountered:
Yes, I think reconsidering the examples is a good idea here. We should advertise the components as much as possible since it's the easiest way to build upon the PDF.js library.
Is there not enough PDF.JS to learn without trying to work out the System.JS stuff?
The text was updated successfully, but these errors were encountered: