Skip to content

Commit e1146b6

Browse files
committed
fix 4 lint errors
1 parent e11cad8 commit e1146b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@ function getPdf(arg, callback) {
3131
params = { url: arg };
3232

3333
var xhr = new XMLHttpRequest();
34-
34+
3535
xhr.open('GET', params.url);
36-
36+
3737
var headers = params.headers;
3838
if (headers) {
3939
for (var property in headers) {
4040
if (typeof headers[property] === 'undefined')
4141
continue;
42-
42+
4343
xhr.setRequestHeader(property, params.headers[property]);
4444
}
4545
}
46-
46+
4747
xhr.mozResponseType = xhr.responseType = 'arraybuffer';
4848
var protocol = params.url.indexOf(':') < 0 ? window.location.protocol :
4949
params.url.substring(0, params.url.indexOf(':') + 1);

0 commit comments

Comments
 (0)