]> git.parisson.com Git - pdf.js.git/commitdiff
fix 4 lint errors
authorbeat <beat.wolf@hefr.ch>
Tue, 8 May 2012 14:34:46 +0000 (16:34 +0200)
committerbeat <beat.wolf@hefr.ch>
Tue, 8 May 2012 14:34:46 +0000 (16:34 +0200)
src/core.js

index c6d8b743c792e3f8de7e91b193b6d80410438ee6..99a8dd16144778b3412c7eb9a1c5c23fb1e603aa 100644 (file)
@@ -31,19 +31,19 @@ function getPdf(arg, callback) {
     params = { url: arg };
 
   var xhr = new XMLHttpRequest();
-  
+
   xhr.open('GET', params.url);
-  
+
   var headers = params.headers;
   if (headers) {
     for (var property in headers) {
       if (typeof headers[property] === 'undefined')
         continue;
-      
+
       xhr.setRequestHeader(property, params.headers[property]);
     }
   }
-  
+
   xhr.mozResponseType = xhr.responseType = 'arraybuffer';
   var protocol = params.url.indexOf(':') < 0 ? window.location.protocol :
     params.url.substring(0, params.url.indexOf(':') + 1);