mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Wrong variable name, fix
This commit is contained in:
parent
0a30d3961b
commit
45d6daa853
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
PDFJS.getDocument = function getDocument(source) {
|
||||
var url, data, headers, password, parameters = {};
|
||||
if (typeof source === 'string') {
|
||||
url = params;
|
||||
url = source;
|
||||
} else if (isArrayBuffer(source)) {
|
||||
data = source;
|
||||
} else if (typeof source === 'object') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue