1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +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:
Jonas Jenwald 2021-02-09 18:28:48 +01:00
parent 31098c404d
commit 0068dba009
10 changed files with 85 additions and 63 deletions

View file

@ -14,7 +14,7 @@ var stream = require("stream");
require("./domstubs.js").setStubs(global);
// 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");
// Some PDFs need external cmaps.
var CMAP_URL = "../../node_modules/pdfjs-dist/cmaps/";