Wrong variable name, fix
This commit is contained in:
parent
0a30d3961b
commit
45d6daa853
@ -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…
x
Reference in New Issue
Block a user