Wrong variable name, fix

This commit is contained in:
Jakob Miland 2012-05-14 20:58:56 +02:00
parent 0a30d3961b
commit 45d6daa853

View File

@ -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') {