[Pkg-javascript-commits] [pdf.js] 08/72: cleaned whitespace

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 20:15:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 54e984c763c3789856332024ac61c370aa49ce7e
Author: Collin Anderson <cmawebsite at gmail.com>
Date:   Mon Feb 2 10:12:52 2015 -0500

    cleaned whitespace
---
 LICENSE                                                        |  1 -
 docs/contents/examples/index.md                                |  2 --
 examples/acroforms/forms.js                                    |  1 -
 examples/acroforms/index.html                                  |  2 +-
 examples/components/pageviewer.html                            |  1 -
 examples/components/simpleviewer.html                          |  1 -
 examples/helloworld/README.md                                  |  3 +--
 examples/helloworld/hello.js                                   |  1 -
 examples/node/domstubs.js                                      |  3 +--
 examples/node/pdf2svg.js                                       |  5 ++---
 examples/svgviewer/viewer.js                                   |  3 +--
 extensions/b2g/viewer.html                                     |  1 -
 extensions/firefox/README.mozilla                              |  1 -
 extensions/firefox/bootstrap.js                                |  1 -
 extensions/firefox/content/PdfJs.jsm                           |  4 ++--
 extensions/firefox/content/PdfStreamConverter.jsm              |  2 +-
 extensions/firefox/tools/l10n.js                               |  3 +--
 l10n/README.md                                                 |  2 +-
 l10n/ar/metadata.inc                                           |  1 -
 l10n/bn-BD/metadata.inc                                        |  1 -
 l10n/cs/metadata.inc                                           |  1 -
 l10n/cy/metadata.inc                                           |  1 -
 l10n/da/metadata.inc                                           |  1 -
 l10n/de/metadata.inc                                           |  1 -
 l10n/el/metadata.inc                                           |  1 -
 l10n/en-US/metadata.inc                                        |  1 -
 l10n/fa/metadata.inc                                           |  1 -
 l10n/fi/metadata.inc                                           |  1 -
 l10n/he/metadata.inc                                           |  1 -
 l10n/it/metadata.inc                                           |  1 -
 l10n/ja/metadata.inc                                           |  1 -
 l10n/ko/metadata.inc                                           |  1 -
 l10n/lt/metadata.inc                                           |  1 -
 l10n/nl/metadata.inc                                           |  1 -
 l10n/pl/metadata.inc                                           |  1 -
 l10n/pt-BR/metadata.inc                                        |  1 -
 l10n/ro/metadata.inc                                           |  1 -
 l10n/ru/metadata.inc                                           |  1 -
 l10n/sr/metadata.inc                                           |  1 -
 l10n/tr/metadata.inc                                           |  1 -
 l10n/vi/metadata.inc                                           |  1 -
 l10n/zh-CN/metadata.inc                                        |  1 -
 l10n/zh-TW/metadata.inc                                        |  1 -
 src/core/arithmetic_decoder.js                                 |  4 ++--
 src/core/bidi.js                                               |  1 -
 src/core/charsets.js                                           |  1 -
 src/core/chunked_stream.js                                     |  1 -
 src/core/core.js                                               |  1 -
 src/core/font_renderer.js                                      |  1 -
 src/core/jpx.js                                                |  1 -
 src/core/metrics.js                                            |  1 -
 src/core/network.js                                            |  1 -
 src/core/obj.js                                                |  8 ++++----
 src/core/pdf_manager.js                                        |  1 -
 src/display/api.js                                             |  4 ++--
 src/display/canvas.js                                          |  1 -
 src/display/font_loader.js                                     |  2 +-
 src/display/svg.js                                             |  4 ++--
 src/shared/cffStandardStrings.js                               |  1 -
 src/shared/fonts_utils.js                                      |  1 -
 test/features/index.html                                       |  4 ++--
 test/features/tests.js                                         |  3 +--
 test/features/worker-stub.js                                   |  1 -
 test/font/font_test.html                                       |  1 -
 test/mozcentral/moz.build                                      |  1 -
 test/resources/browser_manifests/.gitignore                    |  1 -
 .../chrome/specialpowers/content/MozillaLogger.js              |  6 +++---
 .../chrome/specialpowers/content/SpecialPowersObserverAPI.js   |  7 +++----
 .../chrome/specialpowers/content/specialpowersAPI.js           |  4 ++--
 .../chrome/specialpowers/modules/Assert.jsm                    |  2 +-
 .../chrome/specialpowers/modules/MockPermissionPrompt.jsm      |  4 ++--
 .../firefox/extensions/special-powers at mozilla.org/install.rdf  |  4 ++--
 test/resources/reftest-analyzer.html                           |  8 ++++----
 test/resources/reftest-analyzer.js                             | 10 +++++-----
 test/stats/results/.gitignore                                  |  1 -
 test/test_slave.html                                           |  1 -
 test/unit/cmap_spec.js                                         |  1 -
 test/unit/evaluator_spec.js                                    |  1 -
 test/unit/function_spec.js                                     |  1 -
 test/unit/obj_spec.js                                          |  1 -
 test/unit/parser_spec.js                                       |  1 -
 test/unit/stream_spec.js                                       |  1 -
 test/unit/unit_test.html                                       |  1 -
 test/unit/util_spec.js                                         |  1 -
 web/document_properties.js                                     |  2 +-
 web/firefoxcom.js                                              |  2 +-
 web/pdf_find_bar.js                                            |  1 -
 web/pdf_find_controller.js                                     |  9 ++++-----
 web/viewer.html                                                |  6 +++---
 89 files changed, 56 insertions(+), 126 deletions(-)

diff --git a/LICENSE b/LICENSE
index e454a52..f433b1a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -175,4 +175,3 @@
       of your accepting any such warranty or additional liability.
 
    END OF TERMS AND CONDITIONS
-
diff --git a/docs/contents/examples/index.md b/docs/contents/examples/index.md
index 03b656d..418bc20 100644
--- a/docs/contents/examples/index.md
+++ b/docs/contents/examples/index.md
@@ -61,5 +61,3 @@ var viewport = page.getViewport(1);
 var scale = desiredWidth / viewport.width;
 var scaledViewport = page.getViewport(scale);
 ```
-
-
diff --git a/examples/acroforms/forms.js b/examples/acroforms/forms.js
index ecf2586..bcdaec0 100644
--- a/examples/acroforms/forms.js
+++ b/examples/acroforms/forms.js
@@ -150,4 +150,3 @@ PDFJS.getDocument(pdfWithFormsPath).then(function getPdfForm(pdf) {
     renderPage(viewer, pdf, pageNumber++, pageRenderingComplete);
   });
 });
-
diff --git a/examples/acroforms/index.html b/examples/acroforms/index.html
index 85b60f3..3011e01 100644
--- a/examples/acroforms/index.html
+++ b/examples/acroforms/index.html
@@ -21,7 +21,7 @@
     // Specify the PDF with AcroForm here
     var pdfWithFormsPath = '../../test/pdfs/f1040.pdf';
   </script>
-  
+
   <style>
   .pdfpage { position:relative; top: 0; left: 0; border: solid 1px black; margin: 10px; }
   .pdfpage > canvas { position: absolute; top: 0; left: 0; }
diff --git a/examples/components/pageviewer.html b/examples/components/pageviewer.html
index ac49d27..8794c35 100644
--- a/examples/components/pageviewer.html
+++ b/examples/components/pageviewer.html
@@ -43,4 +43,3 @@ limitations under the License.
   <script src="pageviewer.js"></script>
 </body>
 </html>
-
diff --git a/examples/components/simpleviewer.html b/examples/components/simpleviewer.html
index 987a140..966beb7 100644
--- a/examples/components/simpleviewer.html
+++ b/examples/components/simpleviewer.html
@@ -45,4 +45,3 @@ limitations under the License.
   <script src="simpleviewer.js"></script>
 </body>
 </html>
-
diff --git a/examples/helloworld/README.md b/examples/helloworld/README.md
index 9b7b300..f4d3180 100644
--- a/examples/helloworld/README.md
+++ b/examples/helloworld/README.md
@@ -1,6 +1,6 @@
 ## "Hello World" overview
 
-This example is a minimalistic application of the pdf.js project. The file 
+This example is a minimalistic application of the pdf.js project. The file
 `helloworld.pdf` is from the GNUpdf project (see [Introduction to PDF at
 GNUpdf] (http://gnupdf.org/Introduction_to_PDF)), and contains a simple and
 human-readable PDF.
@@ -15,4 +15,3 @@ how to make basic calls to `pdf.js`.
 ## Additional resources
 
 + [GNUpdf - Introduction to PDF](http://gnupdf.org/Introduction_to_PDF)
-
diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js
index a504091..c8417ae 100644
--- a/examples/helloworld/hello.js
+++ b/examples/helloworld/hello.js
@@ -34,4 +34,3 @@ PDFJS.getDocument('helloworld.pdf').then(function(pdf) {
     page.render(renderContext);
   });
 });
-
diff --git a/examples/node/domstubs.js b/examples/node/domstubs.js
index 7149f00..ed2fe4e 100644
--- a/examples/node/domstubs.js
+++ b/examples/node/domstubs.js
@@ -123,7 +123,7 @@ DOMElement.prototype = {
     return newNode;
   },
 }
-  
+
 global.document = {
   childNodes : [],
 
@@ -138,4 +138,3 @@ global.document = {
     return elObject;
   },
 };
-
diff --git a/examples/node/pdf2svg.js b/examples/node/pdf2svg.js
index 1967ee1..a7d8cac 100644
--- a/examples/node/pdf2svg.js
+++ b/examples/node/pdf2svg.js
@@ -63,7 +63,7 @@ PDFJS.getDocument(data).then(function (doc) {
       var viewport = page.getViewport(1.0 /* scale */);
       console.log('Size: ' + viewport.width + 'x' + viewport.height);
       console.log();
-      
+
       return page.getOperatorList().then(function (opList) {
         var svgGfx = new PDFJS.SVGGraphics(page.commonObjs, page.objs);
         svgGfx.embedFonts = true;
@@ -74,7 +74,7 @@ PDFJS.getDocument(data).then(function (doc) {
       });
     })
   };
-  
+
   for (var i = 1; i <= numPages; i++) {
     lastPromise = lastPromise.then(loadPage.bind(null, i));
   }
@@ -84,4 +84,3 @@ PDFJS.getDocument(data).then(function (doc) {
 }, function (err) {
   console.error('Error: ' + err);
 });
-
diff --git a/examples/svgviewer/viewer.js b/examples/svgviewer/viewer.js
index ddbb6fa..3368a13 100644
--- a/examples/svgviewer/viewer.js
+++ b/examples/svgviewer/viewer.js
@@ -26,7 +26,7 @@ PDFJS.getDocument(url).then(function(pdf) {
   // For testing only.
   var MAX_NUM_PAGES = 50;
   var ii = Math.min(MAX_NUM_PAGES, numPages);
-  
+
   var promise = Promise.resolve();
   for (var i = 1; i <= ii; i++) {
     var anchor = document.createElement('a');
@@ -56,4 +56,3 @@ PDFJS.getDocument(url).then(function(pdf) {
     }.bind(null, i, anchor));
   }
 });
-
diff --git a/extensions/b2g/viewer.html b/extensions/b2g/viewer.html
index d68b4fc..83aad6c 100644
--- a/extensions/b2g/viewer.html
+++ b/extensions/b2g/viewer.html
@@ -272,4 +272,3 @@ limitations under the License.
     <!-- END STUBS -->
   </body>
 </html>
-
diff --git a/extensions/firefox/README.mozilla b/extensions/firefox/README.mozilla
index a7be57a..a83cef4 100644
--- a/extensions/firefox/README.mozilla
+++ b/extensions/firefox/README.mozilla
@@ -1,4 +1,3 @@
 This is the pdf.js project output, https://github.com/mozilla/pdf.js
 
 Current extension version is: PDFJSSCRIPT_VERSION
-
diff --git a/extensions/firefox/bootstrap.js b/extensions/firefox/bootstrap.js
index 6d1f3dd..93f8711 100644
--- a/extensions/firefox/bootstrap.js
+++ b/extensions/firefox/bootstrap.js
@@ -203,4 +203,3 @@ function install(aData, aReason) {
 
 function uninstall(aData, aReason) {
 }
-
diff --git a/extensions/firefox/content/PdfJs.jsm b/extensions/firefox/content/PdfJs.jsm
index f29b957..82cc5c2 100644
--- a/extensions/firefox/content/PdfJs.jsm
+++ b/extensions/firefox/content/PdfJs.jsm
@@ -251,9 +251,9 @@ let PdfJs = {
       PdfjsChromeUtils.notifyChildOfSettingsChange();
     }
   },
-  
+
   /**
-   * pdf.js is only enabled if it is both selected as the pdf viewer and if the 
+   * pdf.js is only enabled if it is both selected as the pdf viewer and if the
    * global switch enabling it is true.
    * @return {boolean} Wether or not it's enabled.
    */
diff --git a/extensions/firefox/content/PdfStreamConverter.jsm b/extensions/firefox/content/PdfStreamConverter.jsm
index 2873033..8ca76c9 100644
--- a/extensions/firefox/content/PdfStreamConverter.jsm
+++ b/extensions/firefox/content/PdfStreamConverter.jsm
@@ -817,7 +817,7 @@ FindEventManager.prototype.handleEvent = function(e) {
     forward.initCustomEvent(e.type, true, true, detail);
     // Due to restrictions with cpow use, we can't dispatch
     // dom events with an urgent message on the stack. So bounce
-    // this off the main thread to make it async. 
+    // this off the main thread to make it async.
     Services.tm.mainThread.dispatch(function () {
       contentWindow.dispatchEvent(forward);
     }, Ci.nsIThread.DISPATCH_NORMAL);
diff --git a/extensions/firefox/tools/l10n.js b/extensions/firefox/tools/l10n.js
index 665d28b..93d28b9 100644
--- a/extensions/firefox/tools/l10n.js
+++ b/extensions/firefox/tools/l10n.js
@@ -124,7 +124,7 @@
       // Arabic, Hebrew, Farsi, Pashto, Urdu
       var rtlList = ['ar', 'he', 'fa', 'ps', 'ur'];
 
-      // use the short language code for "full" codes like 'ar-sa' (issue 5440) 
+      // use the short language code for "full" codes like 'ar-sa' (issue 5440)
       var shortCode = gLanguage.split('-')[0];
 
       return (rtlList.indexOf(shortCode) >= 0) ? 'rtl' : 'ltr';
@@ -134,4 +134,3 @@
     translate: translateFragment
   };
 })(this);
-
diff --git a/l10n/README.md b/l10n/README.md
index a2fea69..15226d5 100644
--- a/l10n/README.md
+++ b/l10n/README.md
@@ -1,5 +1,5 @@
 Most of the files in this folder (except for the `en-US` folder and the
 `metadata.inc` files) have been imported from the Firefox Aurora branch,
 which is located at https://mxr.mozilla.org/l10n-mozilla-aurora/source.
-Some of the files are licensed under the MPL license. You can obtain a 
+Some of the files are licensed under the MPL license. You can obtain a
 copy of the license at http://mozilla.org/MPL/2.0.
diff --git a/l10n/ar/metadata.inc b/l10n/ar/metadata.inc
index f1a7106..82ac981 100644
--- a/l10n/ar/metadata.inc
+++ b/l10n/ar/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>يستخدم HTML5 لعرض ملفات PDF مباشره من خلال Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/bn-BD/metadata.inc b/l10n/bn-BD/metadata.inc
index fc36a56..15c082f 100644
--- a/l10n/bn-BD/metadata.inc
+++ b/l10n/bn-BD/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>ফায়ারফক্স এ সরাসরি পিডিএফ দেখানোর জন্যে HTML5 ব্যাবহার করে।</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/cs/metadata.inc b/l10n/cs/metadata.inc
index ed5c2a1..e0cf2b8 100644
--- a/l10n/cs/metadata.inc
+++ b/l10n/cs/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Používá HTML5 pro zobrazení PDF souborů přímo ve Firefoxu.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/cy/metadata.inc b/l10n/cy/metadata.inc
index 38ee6fe..9531a54 100644
--- a/l10n/cy/metadata.inc
+++ b/l10n/cy/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Yn defnyddio HTML5 i arddangos ffeiliau PDF yn uniongyrchol yn Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/da/metadata.inc b/l10n/da/metadata.inc
index 58b76b6..7e61935 100644
--- a/l10n/da/metadata.inc
+++ b/l10n/da/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Benytter HTML5 til at vise PDF-filer direkte i Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/de/metadata.inc b/l10n/de/metadata.inc
index b998e7e..11710ad 100644
--- a/l10n/de/metadata.inc
+++ b/l10n/de/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Nutzt HTML5, um PDFs direkt in Firefox anzuzeigen.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/el/metadata.inc b/l10n/el/metadata.inc
index 3beb0b9..7cf02c0 100644
--- a/l10n/el/metadata.inc
+++ b/l10n/el/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Χρήση HTML5 για εμφάνιση αρχείων PDF κατευθείαν μέσα στο Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/en-US/metadata.inc b/l10n/en-US/metadata.inc
index 8d9d94b..12dd466 100644
--- a/l10n/en-US/metadata.inc
+++ b/l10n/en-US/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Uses HTML5 to display PDF files directly in Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/fa/metadata.inc b/l10n/fa/metadata.inc
index ef5e51d..c5b4f24 100644
--- a/l10n/fa/metadata.inc
+++ b/l10n/fa/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>از اچ‌تی‌ام‌ال۵ برای نمایش پرونده‌های پی‌دی‌اف به‌صورت مستقیم در فایرفاکس استفاده می‌کند.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/fi/metadata.inc b/l10n/fi/metadata.inc
index 19ec00d..5152057 100644
--- a/l10n/fi/metadata.inc
+++ b/l10n/fi/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Näyttää PDF tiedostot suoraan Firefox:ssa HTML5:n avulla.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/he/metadata.inc b/l10n/he/metadata.inc
index 3493c0b..07a3649 100644
--- a/l10n/he/metadata.inc
+++ b/l10n/he/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>הצגת קבצי PDF ישירות ב־Firefox באמצעות HTML5.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/it/metadata.inc b/l10n/it/metadata.inc
index e09d807..4192593 100644
--- a/l10n/it/metadata.inc
+++ b/l10n/it/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Usa HTML5 per visualizzare i file PDF direttamente in Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/ja/metadata.inc b/l10n/ja/metadata.inc
index 7ca4746..26c04d8 100644
--- a/l10n/ja/metadata.inc
+++ b/l10n/ja/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>HTML5を使用して、Firefoxで直接PDFファイルを表示します。</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/ko/metadata.inc b/l10n/ko/metadata.inc
index 04a8f07..70117ba 100644
--- a/l10n/ko/metadata.inc
+++ b/l10n/ko/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Firefox가 PDF 파일을 HTML5를 이용하여 직접 보여줍니다.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/lt/metadata.inc b/l10n/lt/metadata.inc
index e084157..8530fa6 100644
--- a/l10n/lt/metadata.inc
+++ b/l10n/lt/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>PDF bylos vaizduojamos tiesiogiai, naudojant HTML5 Firefox naršyklėje.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/nl/metadata.inc b/l10n/nl/metadata.inc
index 8f00155..99ea5a2 100644
--- a/l10n/nl/metadata.inc
+++ b/l10n/nl/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Gebruikt HTML5 om PDF-bestanden direct in Firefox te openen.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/pl/metadata.inc b/l10n/pl/metadata.inc
index 0cc701d..1c852fa 100644
--- a/l10n/pl/metadata.inc
+++ b/l10n/pl/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Używa HTML5 do wyświetlania plików PDF bezpośrednio w Firefoksie.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/pt-BR/metadata.inc b/l10n/pt-BR/metadata.inc
index 179af8b..2fa449a 100644
--- a/l10n/pt-BR/metadata.inc
+++ b/l10n/pt-BR/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Aprensenta PDFs no browser usando a tecnologia HTML5.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/ro/metadata.inc b/l10n/ro/metadata.inc
index e2c72ec..7617883 100644
--- a/l10n/ro/metadata.inc
+++ b/l10n/ro/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Afișează fișierele PDF direct în Firefox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/ru/metadata.inc b/l10n/ru/metadata.inc
index 410814c..a0dfb6b 100644
--- a/l10n/ru/metadata.inc
+++ b/l10n/ru/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Показывает файлы PDF непосредственно в Firefox используя HTML5.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/sr/metadata.inc b/l10n/sr/metadata.inc
index c8ab2d8..f2a2797 100644
--- a/l10n/sr/metadata.inc
+++ b/l10n/sr/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Користи ХТМЛ5 да би приказао ПДФ датотеке директно у Фајерфоксу.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/tr/metadata.inc b/l10n/tr/metadata.inc
index 13bc253..378e38f 100644
--- a/l10n/tr/metadata.inc
+++ b/l10n/tr/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Firefox içerisinde PDFleri göstermek için HTML5 kullanır.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/vi/metadata.inc b/l10n/vi/metadata.inc
index 7f7e928..9c49de5 100644
--- a/l10n/vi/metadata.inc
+++ b/l10n/vi/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>Dùng HTML5 để hiện thị PDF trực tiếp trên FireFox.</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/zh-CN/metadata.inc b/l10n/zh-CN/metadata.inc
index 04be27c..88e6d7e 100644
--- a/l10n/zh-CN/metadata.inc
+++ b/l10n/zh-CN/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>使用 HTML5 来支持在 Firefox 中直接显示 PDF 文件。</em:description>
       </Description>
     </em:localized>
-
diff --git a/l10n/zh-TW/metadata.inc b/l10n/zh-TW/metadata.inc
index 6ef722b..2fc886c 100644
--- a/l10n/zh-TW/metadata.inc
+++ b/l10n/zh-TW/metadata.inc
@@ -5,4 +5,3 @@
         <em:description>利用 HTML5 技術在 Firefox 中直接顯示 PDF 格式檔案。</em:description>
       </Description>
     </em:localized>
-
diff --git a/src/core/arithmetic_decoder.js b/src/core/arithmetic_decoder.js
index 29f3a60..531e6d9 100644
--- a/src/core/arithmetic_decoder.js
+++ b/src/core/arithmetic_decoder.js
@@ -19,9 +19,9 @@
 
 /* This class implements the QM Coder decoding as defined in
  *   JPEG 2000 Part I Final Committee Draft Version 1.0
- *   Annex C.3 Arithmetic decoding procedure 
+ *   Annex C.3 Arithmetic decoding procedure
  * available at http://www.jpeg.org/public/fcd15444-1.pdf
- * 
+ *
  * The arithmetic decoder is used in conjunction with context models to decode
  * JPEG2000 and JBIG2 streams.
  */
diff --git a/src/core/bidi.js b/src/core/bidi.js
index 9d29692..511c5c1 100644
--- a/src/core/bidi.js
+++ b/src/core/bidi.js
@@ -424,4 +424,3 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
 
   return bidi;
 })();
-
diff --git a/src/core/charsets.js b/src/core/charsets.js
index 081341e..a6c0cd5 100644
--- a/src/core/charsets.js
+++ b/src/core/charsets.js
@@ -116,4 +116,3 @@ var ExpertSubsetCharset = [
   'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',
   'periodinferior', 'commainferior'
 ];
-
diff --git a/src/core/chunked_stream.js b/src/core/chunked_stream.js
index e760f18..427673c 100644
--- a/src/core/chunked_stream.js
+++ b/src/core/chunked_stream.js
@@ -560,4 +560,3 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
 
   return ChunkedStreamManager;
 })();
-
diff --git a/src/core/core.js b/src/core/core.js
index 0e0fa27..c81f5b7 100644
--- a/src/core/core.js
+++ b/src/core/core.js
@@ -530,4 +530,3 @@ var PDFDocument = (function PDFDocumentClosure() {
 
   return PDFDocument;
 })();
-
diff --git a/src/core/font_renderer.js b/src/core/font_renderer.js
index f02771c..7609645 100644
--- a/src/core/font_renderer.js
+++ b/src/core/font_renderer.js
@@ -710,4 +710,3 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
     }
   };
 })();
-
diff --git a/src/core/jpx.js b/src/core/jpx.js
index 8821ce6..cc497ed 100644
--- a/src/core/jpx.js
+++ b/src/core/jpx.js
@@ -2213,4 +2213,3 @@ var JpxImage = (function JpxImageClosure() {
 
   return JpxImage;
 })();
-
diff --git a/src/core/metrics.js b/src/core/metrics.js
index b288870..2f002e2 100644
--- a/src/core/metrics.js
+++ b/src/core/metrics.js
@@ -2958,4 +2958,3 @@ var Metrics = {
     'a191': 918
   }
 };
-
diff --git a/src/core/network.js b/src/core/network.js
index 48befb4..c030f71 100644
--- a/src/core/network.js
+++ b/src/core/network.js
@@ -274,4 +274,3 @@ var NetworkManager = (function NetworkManagerClosure() {
 
   return NetworkManager;
 })();
-
diff --git a/src/core/obj.js b/src/core/obj.js
index babfdaf..2037688 100644
--- a/src/core/obj.js
+++ b/src/core/obj.js
@@ -555,7 +555,7 @@ var Catalog = (function CatalogClosure() {
         var isPrintAction = (isName(objType) && objType.name === 'Action' &&
                             isName(actionType) && actionType.name === 'Named' &&
                             isName(action) && action.name === 'Print');
-        
+
         if (isPrintAction) {
           javaScript.push('print(true);');
         }
@@ -1411,7 +1411,7 @@ var NameTree = (function NameTreeClosure() {
           warn('Search depth limit for named destionations has been reached.');
           return null;
         }
-        
+
         var kids = kidsOrNames.get('Kids');
         if (!isArray(kids)) {
           return null;
@@ -1466,10 +1466,10 @@ var NameTree = (function NameTreeClosure() {
 })();
 
 /**
- * "A PDF file can refer to the contents of another file by using a File 
+ * "A PDF file can refer to the contents of another file by using a File
  * Specification (PDF 1.1)", see the spec (7.11) for more details.
  * NOTE: Only embedded files are supported (as part of the attachments support)
- * TODO: support the 'URL' file system (with caching if !/V), portable 
+ * TODO: support the 'URL' file system (with caching if !/V), portable
  * collections attributes and related files (/RF)
  */
 var FileSpec = (function FileSpecClosure() {
diff --git a/src/core/pdf_manager.js b/src/core/pdf_manager.js
index af6d72c..3101e4e 100644
--- a/src/core/pdf_manager.js
+++ b/src/core/pdf_manager.js
@@ -222,4 +222,3 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() {
 
   return NetworkPdfManager;
 })();
-
diff --git a/src/display/api.js b/src/display/api.js
index 547fe6d..9b642f3 100644
--- a/src/display/api.js
+++ b/src/display/api.js
@@ -153,7 +153,7 @@ PDFJS.verbosity = (PDFJS.verbosity === undefined ?
                    PDFJS.VERBOSITY_LEVELS.warnings : PDFJS.verbosity);
 
 /**
- * The maximum supported canvas size in total pixels e.g. width * height. 
+ * The maximum supported canvas size in total pixels e.g. width * height.
  * The default value is 4096 * 4096. Use -1 for no limit.
  * @var {number}
  */
@@ -599,7 +599,7 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() {
  *                      rendering call the function that is the first argument
  *                      to the callback.
  */
- 
+
 /**
  * PDF page operator list.
  *
diff --git a/src/display/canvas.js b/src/display/canvas.js
index 7c96e34..5a2a423 100644
--- a/src/display/canvas.js
+++ b/src/display/canvas.js
@@ -2149,4 +2149,3 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
 
   return CanvasGraphics;
 })();
-
diff --git a/src/display/font_loader.js b/src/display/font_loader.js
index 5326a3e..5d89fd8 100644
--- a/src/display/font_loader.js
+++ b/src/display/font_loader.js
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-/* globals PDFJS, shadow, isWorker, assert, warn, bytesToString, string32, 
+/* globals PDFJS, shadow, isWorker, assert, warn, bytesToString, string32,
            globalScope, FontFace, Promise */
 
 'use strict';
diff --git a/src/display/svg.js b/src/display/svg.js
index 97323bf..1a0ef67 100644
--- a/src/display/svg.js
+++ b/src/display/svg.js
@@ -252,7 +252,7 @@ var SVGExtraState = (function SVGExtraStateClosure() {
     this.lineJoin = '';
     this.lineCap = '';
     this.miterLimit = 0;
-    
+
     this.dashArray = [];
     this.dashPhase = 0;
 
@@ -479,7 +479,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
       }
       return opListToTree(opList);
     },
-    
+
     executeOpTree: function SVGGraphics_executeOpTree(opTree) {
       var opTreeLen = opTree.length;
       for(var x = 0; x < opTreeLen; x++) {
diff --git a/src/shared/cffStandardStrings.js b/src/shared/cffStandardStrings.js
index f1a829e..7959750 100644
--- a/src/shared/cffStandardStrings.js
+++ b/src/shared/cffStandardStrings.js
@@ -311,4 +311,3 @@ var CFFDictPrivateDataMap = {
     operand: 0
   }
 };
-
diff --git a/src/shared/fonts_utils.js b/src/shared/fonts_utils.js
index 14ba5ba..6b3c331 100644
--- a/src/shared/fonts_utils.js
+++ b/src/shared/fonts_utils.js
@@ -431,4 +431,3 @@ function writeToFile(aBytes, aFilePath) {
   bos.writeByteArray(aBytes, aBytes.length);
   stream.close();
 }
-
diff --git a/test/features/index.html b/test/features/index.html
index 3ae63fc..47a1bc6 100644
--- a/test/features/index.html
+++ b/test/features/index.html
@@ -102,7 +102,7 @@ limitations under the License.
       try {
         result = test.run();
       } catch (e) {
-        console.error('test run failed: ' + e); 
+        console.error('test run failed: ' + e);
         result = { output: 'Failed', emulated: '?' };
       }
       if (result.then)
@@ -111,6 +111,6 @@ limitations under the License.
         publish(result);
     }
     </script>
-    
+
   </body>
 </html>
diff --git a/test/features/tests.js b/test/features/tests.js
index af9d5b8..5c0a1a7 100644
--- a/test/features/tests.js
+++ b/test/features/tests.js
@@ -25,7 +25,7 @@ Promise.prototype = {
   resolve: function (result) {
     if ('result' in this) return;
     this.result = result;
-    if ('callback' in this) this.callback(result); 
+    if ('callback' in this) this.callback(result);
   }
 };
 
@@ -665,4 +665,3 @@ function checkCanvas(font) {
     colors[2][2] * 3 < counts[2][2];
   return isPlus;
 }
-
diff --git a/test/features/worker-stub.js b/test/features/worker-stub.js
index 2a1306e..bceb6e3 100644
--- a/test/features/worker-stub.js
+++ b/test/features/worker-stub.js
@@ -37,4 +37,3 @@ onmessage = function (e) {
     break;
   }
 };
-
diff --git a/test/font/font_test.html b/test/font/font_test.html
index ba53249..4869002 100644
--- a/test/font/font_test.html
+++ b/test/font/font_test.html
@@ -99,4 +99,3 @@
 <body>
 </body>
 </html>
-
diff --git a/test/mozcentral/moz.build b/test/mozcentral/moz.build
index 33f04f8..24a6908 100644
--- a/test/mozcentral/moz.build
+++ b/test/mozcentral/moz.build
@@ -5,4 +5,3 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 BROWSER_CHROME_MANIFESTS += ['browser.ini']
-
diff --git a/test/resources/browser_manifests/.gitignore b/test/resources/browser_manifests/.gitignore
index ca57ac5..9d39a49 100644
--- a/test/resources/browser_manifests/.gitignore
+++ b/test/resources/browser_manifests/.gitignore
@@ -1,2 +1 @@
 browser_manifest.json
-
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/MozillaLogger.js b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/MozillaLogger.js
index 96ad8a2..fdc6c9a 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/MozillaLogger.js
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/MozillaLogger.js
@@ -8,7 +8,7 @@ function MozillaLogger(aPath) {
 MozillaLogger.prototype = {
 
   init : function(path) {},
-  
+
   getLogCallback : function() {
     return function (msg) {
       var data = msg.num + " " + msg.level + " " + msg.info.join(' ') + "\n";
@@ -76,7 +76,7 @@ function MozillaFileLogger(aPath) {
 }
 
 MozillaFileLogger.prototype = {
-  
+
   init : function (path) {
     var PR_WRITE_ONLY   = 0x02; // Open for writing only.
     var PR_CREATE_FILE  = 0x08;
@@ -110,7 +110,7 @@ MozillaFileLogger.prototype = {
   close : function() {
     if(this._foStream)
       this._foStream.close();
-  
+
     this._foStream = null;
     this._file = null;
   }
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js
index cb87113..160b82e 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js
@@ -240,10 +240,10 @@ SpecialPowersObserverAPI.prototype = {
           case "BOOL":
             if (aMessage.json.op == "get")
               return(prefs.getBoolPref(prefName));
-            else 
+            else
               return(prefs.setBoolPref(prefName, prefValue));
           case "INT":
-            if (aMessage.json.op == "get") 
+            if (aMessage.json.op == "get")
               return(prefs.getIntPref(prefName));
             else
               return(prefs.setIntPref(prefName, prefValue));
@@ -297,7 +297,7 @@ SpecialPowersObserverAPI.prototype = {
             break;
           case "has":
             let hasPerm = Services.perms.testPermissionFromPrincipal(principal, msg.type);
-            if (hasPerm == Ci.nsIPermissionManager.ALLOW_ACTION) 
+            if (hasPerm == Ci.nsIPermissionManager.ALLOW_ACTION)
               return true;
             return false;
             break;
@@ -411,4 +411,3 @@ SpecialPowersObserverAPI.prototype = {
     return undefined;
   }
 };
-
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/specialpowersAPI.js b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/specialpowersAPI.js
index 940bb01..7c1344d 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/specialpowersAPI.js
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/content/specialpowersAPI.js
@@ -695,7 +695,7 @@ SpecialPowersAPI.prototype = {
      we will revert the permission back to the original.
 
      inPermissions is an array of objects where each object has a type, action, context, ex:
-     [{'type': 'SystemXHR', 'allow': 1, 'context': document}, 
+     [{'type': 'SystemXHR', 'allow': 1, 'context': document},
       {'type': 'SystemXHR', 'allow': Ci.nsIPermissionManager.PROMPT_ACTION, 'context': document}]
 
      Allow can be a boolean value of true/false or ALLOW_ACTION/DENY_ACTION/PROMPT_ACTION/UNKNOWN_ACTION
@@ -1706,7 +1706,7 @@ SpecialPowersAPI.prototype = {
     var msg = {
       'op': 'test',
       'type': type,
-      'value': value, 
+      'value': value,
       'url': url,
       'appId': appId,
       'isInBrowserElement': isInBrowserElement
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/Assert.jsm b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/Assert.jsm
index a80c407..7752f16 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/Assert.jsm
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/Assert.jsm
@@ -330,7 +330,7 @@ function objEquiv(a, b) {
   // The same set of keys (although not necessarily the same order),
   ka.sort();
   kb.sort();
-  // Equivalent values for every corresponding key, and possibly expensive deep 
+  // Equivalent values for every corresponding key, and possibly expensive deep
   // test
   for (i = ka.length - 1; i >= 0; i--) {
     key = ka[i];
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/MockPermissionPrompt.jsm b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/MockPermissionPrompt.jsm
index e07f8e0..cb2b1e9 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/MockPermissionPrompt.jsm
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/chrome/specialpowers/modules/MockPermissionPrompt.jsm
@@ -49,10 +49,10 @@ this.MockPermissionPrompt = {
       registrar.registerFactory(newClassID, "", CONTRACT_ID, newFactory);
     }
   },
-  
+
   reset: function() {
   },
-  
+
   cleanup: function() {
     this.reset();
     if (oldFactory) {
diff --git a/test/resources/firefox/extensions/special-powers at mozilla.org/install.rdf b/test/resources/firefox/extensions/special-powers at mozilla.org/install.rdf
index 490d4dd..c97318d 100644
--- a/test/resources/firefox/extensions/special-powers at mozilla.org/install.rdf
+++ b/test/resources/firefox/extensions/special-powers at mozilla.org/install.rdf
@@ -8,7 +8,7 @@
     <em:version>2010.07.23</em:version>
     <em:type>2</em:type>
 
-    <!-- Target Application this extension can install into, 
+    <!-- Target Application this extension can install into,
          with minimum and maximum supported versions. -->
     <em:targetApplication>
       <Description>
@@ -22,5 +22,5 @@
     <em:name>Special Powers</em:name>
     <em:description>Special powers for use in testing.</em:description>
     <em:creator>Mozilla</em:creator>
-  </Description>      
+  </Description>
 </RDF>
diff --git a/test/resources/reftest-analyzer.html b/test/resources/reftest-analyzer.html
index b81412f..a3e5b03 100644
--- a/test/resources/reftest-analyzer.html
+++ b/test/resources/reftest-analyzer.html
@@ -96,11 +96,11 @@ Original author: L. David Baron <dbaron at dbaron.org>
     <form id="imgcontrols">
       <label>
         <input type="radio" name="which" id="testImage" value="0" checked="checked"> Test
-      </label> 
+      </label>
       <label>
         <input type="radio" name="which" id="referenceImage" value="1"> Reference
       </label>
-      <label> 
+      <label>
         <input type="checkbox" id="differences"> Circle differences
       </label>
     </form>
@@ -146,12 +146,12 @@ Original author: L. David Baron <dbaron at dbaron.org>
           <feComposite result="c" in="c1" in2="c2" operator="arithmetic" k2="255" k3="255" />
           <!-- a will be opaque for every pixel with differences and transparent for all others -->
           <feColorMatrix result="a" type="matrix" values="0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  1 1 1 0 0" />
-          
+
           <!-- a, dilated by 4 pixels -->
           <feMorphology result="dila4" in="a" operator="dilate" radius="4" />
           <!-- a, dilated by 1 pixel -->
           <feMorphology result="dila1" in="a" operator="dilate" radius="1" />
-          
+
           <!-- all the pixels in the 3-pixel dilation of a but not in the 1-pixel dilation of a, to highlight the diffs -->
           <feComposite result="highlight" in="dila4" in2="dila1" operator="out" />
 
diff --git a/test/resources/reftest-analyzer.js b/test/resources/reftest-analyzer.js
index d4f96d7..841743f 100644
--- a/test/resources/reftest-analyzer.js
+++ b/test/resources/reftest-analyzer.js
@@ -68,7 +68,7 @@ window.onload = function() {
       ID("logEntry").value = params.log;
       logPasted();
     } else if (params.web) {
-      loadFromWeb(params.web); 
+      loadFromWeb(params.web);
     }
     ID("logEntry").focus();
   }
@@ -189,7 +189,7 @@ window.onload = function() {
         var random = match[2];
         var url = match[3];
         var extra = match[4];
-      
+
         gTestItems.push({
           pass: !state.match(/FAIL$/),
           // only one of the following three should ever be true
@@ -220,7 +220,7 @@ window.onload = function() {
     var table = document.getElementById("itemtable");
     while (table.childNodes.length > 0) {
       table.removeChild(table.childNodes[table.childNodes.length - 1]);
-    } 
+    }
     var tbody = document.createElement("tbody");
     table.appendChild(tbody);
 
@@ -234,7 +234,7 @@ window.onload = function() {
       var rowclass = item.pass ? "pass" : "fail";
       var td = document.createElement("td");
       var text = "";
-    
+
       if (item.unexpected) {
         text += "!";
         rowclass += " unexpected";
@@ -253,7 +253,7 @@ window.onload = function() {
       td = document.createElement("td");
       td.id = "url" + i;
       td.className = "url";
-    
+
       var match = item.url.match(/\/mozilla\/(.*)/);
       text = document.createTextNode(match ? match[1] : item.url);
       if (item.images.length > 0) {
diff --git a/test/stats/results/.gitignore b/test/stats/results/.gitignore
index 76bedae..5e7d273 100644
--- a/test/stats/results/.gitignore
+++ b/test/stats/results/.gitignore
@@ -2,4 +2,3 @@
 *
 # Except this file
 !.gitignore
-
diff --git a/test/test_slave.html b/test/test_slave.html
index 1fa8345..83a7abe 100644
--- a/test/test_slave.html
+++ b/test/test_slave.html
@@ -45,4 +45,3 @@ limitations under the License.
     </script>
   </body>
 </html>
-
diff --git a/test/unit/cmap_spec.js b/test/unit/cmap_spec.js
index e7ad60a..8da3000 100644
--- a/test/unit/cmap_spec.js
+++ b/test/unit/cmap_spec.js
@@ -108,4 +108,3 @@ describe('cmap', function() {
     expect(cmap.builtInCMap).toBeTruthy();
   });
 });
-
diff --git a/test/unit/evaluator_spec.js b/test/unit/evaluator_spec.js
index e47d723..bc4ba12 100644
--- a/test/unit/evaluator_spec.js
+++ b/test/unit/evaluator_spec.js
@@ -229,4 +229,3 @@ describe('evaluator', function() {
     });
   });
 });
-
diff --git a/test/unit/function_spec.js b/test/unit/function_spec.js
index 77b7ba7..7d22670 100644
--- a/test/unit/function_spec.js
+++ b/test/unit/function_spec.js
@@ -520,4 +520,3 @@ describe('function', function() {
     });
   });
 });
-
diff --git a/test/unit/obj_spec.js b/test/unit/obj_spec.js
index 9de6a83..8245be9 100644
--- a/test/unit/obj_spec.js
+++ b/test/unit/obj_spec.js
@@ -148,4 +148,3 @@ describe('obj', function() {
     });
   });
 });
-
diff --git a/test/unit/parser_spec.js b/test/unit/parser_spec.js
index e03cdd9..4fb9089 100644
--- a/test/unit/parser_spec.js
+++ b/test/unit/parser_spec.js
@@ -74,4 +74,3 @@ describe('parser', function() {
     });
   });
 });
-
diff --git a/test/unit/stream_spec.js b/test/unit/stream_spec.js
index e21e9b4..152eb0d 100644
--- a/test/unit/stream_spec.js
+++ b/test/unit/stream_spec.js
@@ -41,4 +41,3 @@ describe('stream', function() {
     });
   });
 });
-
diff --git a/test/unit/unit_test.html b/test/unit/unit_test.html
index 94d27eb..c8f59fc 100644
--- a/test/unit/unit_test.html
+++ b/test/unit/unit_test.html
@@ -104,4 +104,3 @@
 <body>
 </body>
 </html>
-
diff --git a/test/unit/util_spec.js b/test/unit/util_spec.js
index 9647cde..164d18f 100644
--- a/test/unit/util_spec.js
+++ b/test/unit/util_spec.js
@@ -78,4 +78,3 @@ describe('util', function() {
   });
 
 });
-
diff --git a/web/document_properties.js b/web/document_properties.js
index b8d30aa..f0f1c67 100644
--- a/web/document_properties.js
+++ b/web/document_properties.js
@@ -152,7 +152,7 @@ var DocumentProperties = {
 
   parseDate: function documentPropertiesParseDate(inputDate) {
     // This is implemented according to the PDF specification (see
-    // http://www.gnupdf.org/Date for an overview), but note that 
+    // http://www.gnupdf.org/Date for an overview), but note that
     // Adobe Reader doesn't handle changing the date to universal time
     // and doesn't use the user's time zone (they're effectively ignoring
     // the HH' and mm' parts of the date string).
diff --git a/web/firefoxcom.js b/web/firefoxcom.js
index 8a775ac..d6c71d5 100644
--- a/web/firefoxcom.js
+++ b/web/firefoxcom.js
@@ -89,7 +89,7 @@ var DownloadManager = (function DownloadManagerClosure() {
     downloadData: function DownloadManager_downloadData(data, filename,
                                                         contentType) {
       var blobUrl = PDFJS.createObjectURL(data, contentType);
-      
+
       FirefoxCom.request('download', {
         blobUrl: blobUrl,
         originalUrl: blobUrl,
diff --git a/web/pdf_find_bar.js b/web/pdf_find_bar.js
index 61d94a7..4484afc 100644
--- a/web/pdf_find_bar.js
+++ b/web/pdf_find_bar.js
@@ -163,4 +163,3 @@ var PDFFindBar = (function PDFFindBarClosure() {
   };
   return PDFFindBar;
 })();
-
diff --git a/web/pdf_find_controller.js b/web/pdf_find_controller.js
index 0d3d1d5..fb2e576 100644
--- a/web/pdf_find_controller.js
+++ b/web/pdf_find_controller.js
@@ -301,7 +301,7 @@ var PDFFindController = (function PDFFindControllerClosure() {
           if (this.pagesToSearch < 0) {
             // No point in wrapping again, there were no matches.
             this.updateMatch(false);
-            // while matches were not found, searching for a page 
+            // while matches were not found, searching for a page
             // with matches should nevertheless halt.
             return true;
           }
@@ -354,7 +354,7 @@ var PDFFindController = (function PDFFindControllerClosure() {
       offset.matchIdx = null;
 
       this.pagesToSearch--;
-      
+
       if (offset.pageIdx >= numPages || offset.pageIdx < 0) {
         offset.pageIdx = (previous ? numPages - 1 : 0);
         offset.wrapped = true;
@@ -365,7 +365,7 @@ var PDFFindController = (function PDFFindControllerClosure() {
       var state = FindStates.FIND_NOTFOUND;
       var wrapped = this.offset.wrapped;
       this.offset.wrapped = false;
-    
+
       if (found) {
         var previousPage = this.selected.pageIdx;
         this.selected.pageIdx = this.offset.pageIdx;
@@ -376,7 +376,7 @@ var PDFFindController = (function PDFFindControllerClosure() {
           this.updatePage(previousPage);
         }
       }
-    
+
       this.updateUIState(state, this.state.findPrevious);
       if (this.selected.pageIdx !== -1) {
         this.updatePage(this.selected.pageIdx);
@@ -398,4 +398,3 @@ var PDFFindController = (function PDFFindControllerClosure() {
   };
   return PDFFindController;
 })();
-
diff --git a/web/viewer.html b/web/viewer.html
index f3c7ea0..f849822 100644
--- a/web/viewer.html
+++ b/web/viewer.html
@@ -190,7 +190,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
             <button id="toggleHandTool" class="secondaryToolbarButton handTool" title="Enable hand tool" tabindex="60" data-l10n-id="hand_tool_enable">
               <span data-l10n-id="hand_tool_enable_label">Enable hand tool</span>
             </button>
-            
+
             <div class="horizontalToolbarSeparator"></div>
 
             <button id="documentProperties" class="secondaryToolbarButton documentProperties" title="Document Properties…" tabindex="61" data-l10n-id="document_properties">
@@ -245,10 +245,10 @@ http://sourceforge.net/adobe/cmap/wiki/License/
                 </a>
 
                 <div class="verticalToolbarSeparator hiddenSmallView"></div>
-                
+
                 <button id="secondaryToolbarToggle" class="toolbarButton" title="Tools" tabindex="36" data-l10n-id="tools">
                   <span data-l10n-id="tools_label">Tools</span>
-                </button> 
+                </button>
               </div>
               <div class="outerCenter">
                 <div class="innerCenter" id="toolbarViewerMiddle">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list