mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
[api-minor] Rename -es5
to -legacy
, to reduce confusion over what's actually supported (issue 12976)
*Please note that this will also require some edits of the Wiki.*
This commit is contained in:
parent
31098c404d
commit
0068dba009
10 changed files with 85 additions and 63 deletions
|
@ -8,7 +8,7 @@
|
|||
//
|
||||
|
||||
// Run `gulp dist-install` to generate 'pdfjs-dist' npm package files.
|
||||
var pdfjsLib = require("pdfjs-dist/es5/build/pdf.js");
|
||||
var pdfjsLib = require("pdfjs-dist/legacy/build/pdf.js");
|
||||
|
||||
// Loading file from file system into typed array
|
||||
var pdfPath = process.argv[2] || "../../web/compressed.tracemonkey-pldi-09.pdf";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue