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) {
|
PDFJS.getDocument = function getDocument(source) {
|
||||||
var url, data, headers, password, parameters = {};
|
var url, data, headers, password, parameters = {};
|
||||||
if (typeof source === 'string') {
|
if (typeof source === 'string') {
|
||||||
url = params;
|
url = source;
|
||||||
} else if (isArrayBuffer(source)) {
|
} else if (isArrayBuffer(source)) {
|
||||||
data = source;
|
data = source;
|
||||||
} else if (typeof source === 'object') {
|
} else if (typeof source === 'object') {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue