Browse Source

Merge pull request #5693 from collinanderson/whitespace

cleaned whitespace
Jonas Jenwald 10 years ago
parent
commit
00ee6bd6b6
  1. 1
      LICENSE
  2. 2
      docs/contents/examples/index.md
  3. 1
      examples/acroforms/forms.js
  4. 1
      examples/components/pageviewer.html
  5. 1
      examples/components/simpleviewer.html
  6. 1
      examples/helloworld/README.md
  7. 1
      examples/helloworld/hello.js
  8. 1
      examples/node/domstubs.js
  9. 1
      examples/node/pdf2svg.js
  10. 1
      examples/svgviewer/viewer.js
  11. 1
      extensions/b2g/viewer.html
  12. 1
      extensions/firefox/README.mozilla
  13. 1
      extensions/firefox/bootstrap.js
  14. 1
      extensions/firefox/tools/l10n.js
  15. 1
      l10n/ar/metadata.inc
  16. 1
      l10n/bn-BD/metadata.inc
  17. 1
      l10n/cs/metadata.inc
  18. 1
      l10n/cy/metadata.inc
  19. 1
      l10n/da/metadata.inc
  20. 1
      l10n/de/metadata.inc
  21. 1
      l10n/el/metadata.inc
  22. 1
      l10n/en-US/metadata.inc
  23. 1
      l10n/fa/metadata.inc
  24. 1
      l10n/fi/metadata.inc
  25. 1
      l10n/he/metadata.inc
  26. 1
      l10n/it/metadata.inc
  27. 1
      l10n/ja/metadata.inc
  28. 1
      l10n/ko/metadata.inc
  29. 1
      l10n/lt/metadata.inc
  30. 1
      l10n/nl/metadata.inc
  31. 1
      l10n/pl/metadata.inc
  32. 1
      l10n/pt-BR/metadata.inc
  33. 1
      l10n/ro/metadata.inc
  34. 1
      l10n/ru/metadata.inc
  35. 1
      l10n/sr/metadata.inc
  36. 1
      l10n/tr/metadata.inc
  37. 1
      l10n/vi/metadata.inc
  38. 1
      l10n/zh-CN/metadata.inc
  39. 1
      l10n/zh-TW/metadata.inc
  40. 1
      src/core/bidi.js
  41. 1
      src/core/charsets.js
  42. 1
      src/core/chunked_stream.js
  43. 1
      src/core/core.js
  44. 1
      src/core/font_renderer.js
  45. 1
      src/core/jpx.js
  46. 1
      src/core/metrics.js
  47. 1
      src/core/network.js
  48. 1
      src/core/pdf_manager.js
  49. 1
      src/display/canvas.js
  50. 1
      src/shared/cffStandardStrings.js
  51. 1
      src/shared/fonts_utils.js
  52. 1
      test/features/tests.js
  53. 1
      test/features/worker-stub.js
  54. 1
      test/font/font_test.html
  55. 1
      test/mozcentral/moz.build
  56. 1
      test/resources/browser_manifests/.gitignore
  57. 1
      test/resources/firefox/extensions/special-powers@mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js
  58. 1
      test/stats/results/.gitignore
  59. 1
      test/test_slave.html
  60. 1
      test/unit/cmap_spec.js
  61. 1
      test/unit/evaluator_spec.js
  62. 1
      test/unit/function_spec.js
  63. 1
      test/unit/obj_spec.js
  64. 1
      test/unit/parser_spec.js
  65. 1
      test/unit/stream_spec.js
  66. 1
      test/unit/unit_test.html
  67. 1
      test/unit/util_spec.js
  68. 1
      web/pdf_find_bar.js
  69. 1
      web/pdf_find_controller.js

1
LICENSE

@ -175,4 +175,3 @@ @@ -175,4 +175,3 @@
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS

2
docs/contents/examples/index.md

@ -61,5 +61,3 @@ var viewport = page.getViewport(1); @@ -61,5 +61,3 @@ var viewport = page.getViewport(1);
var scale = desiredWidth / viewport.width;
var scaledViewport = page.getViewport(scale);
```

1
examples/acroforms/forms.js

@ -150,4 +150,3 @@ PDFJS.getDocument(pdfWithFormsPath).then(function getPdfForm(pdf) { @@ -150,4 +150,3 @@ PDFJS.getDocument(pdfWithFormsPath).then(function getPdfForm(pdf) {
renderPage(viewer, pdf, pageNumber++, pageRenderingComplete);
});
});

1
examples/components/pageviewer.html

@ -43,4 +43,3 @@ limitations under the License. @@ -43,4 +43,3 @@ limitations under the License.
<script src="pageviewer.js"></script>
</body>
</html>

1
examples/components/simpleviewer.html

@ -45,4 +45,3 @@ limitations under the License. @@ -45,4 +45,3 @@ limitations under the License.
<script src="simpleviewer.js"></script>
</body>
</html>

1
examples/helloworld/README.md

@ -15,4 +15,3 @@ how to make basic calls to `pdf.js`. @@ -15,4 +15,3 @@ how to make basic calls to `pdf.js`.
## Additional resources
+ [GNUpdf - Introduction to PDF](http://gnupdf.org/Introduction_to_PDF)

1
examples/helloworld/hello.js

@ -34,4 +34,3 @@ PDFJS.getDocument('helloworld.pdf').then(function(pdf) { @@ -34,4 +34,3 @@ PDFJS.getDocument('helloworld.pdf').then(function(pdf) {
page.render(renderContext);
});
});

1
examples/node/domstubs.js

@ -138,4 +138,3 @@ global.document = { @@ -138,4 +138,3 @@ global.document = {
return elObject;
},
};

1
examples/node/pdf2svg.js

@ -84,4 +84,3 @@ PDFJS.getDocument(data).then(function (doc) { @@ -84,4 +84,3 @@ PDFJS.getDocument(data).then(function (doc) {
}, function (err) {
console.error('Error: ' + err);
});

1
examples/svgviewer/viewer.js

@ -56,4 +56,3 @@ PDFJS.getDocument(url).then(function(pdf) { @@ -56,4 +56,3 @@ PDFJS.getDocument(url).then(function(pdf) {
}.bind(null, i, anchor));
}
});

1
extensions/b2g/viewer.html

@ -272,4 +272,3 @@ limitations under the License. @@ -272,4 +272,3 @@ limitations under the License.
<!-- END STUBS -->
</body>
</html>

1
extensions/firefox/README.mozilla

@ -1,4 +1,3 @@ @@ -1,4 +1,3 @@
This is the pdf.js project output, https://github.com/mozilla/pdf.js
Current extension version is: PDFJSSCRIPT_VERSION

1
extensions/firefox/bootstrap.js vendored

@ -203,4 +203,3 @@ function install(aData, aReason) { @@ -203,4 +203,3 @@ function install(aData, aReason) {
function uninstall(aData, aReason) {
}

1
extensions/firefox/tools/l10n.js

@ -134,4 +134,3 @@ @@ -134,4 +134,3 @@
translate: translateFragment
};
})(this);

1
l10n/ar/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>يستخدم HTML5 لعرض ملفات PDF مباشره من خلال Firefox.</em:description>
</Description>
</em:localized>

1
l10n/bn-BD/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>রফকস এ সরসরিিিএফ দর জন HTML5 ববহর কর</em:description>
</Description>
</em:localized>

1
l10n/cs/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Používá HTML5 pro zobrazení PDF souborů přímo ve Firefoxu.</em:description>
</Description>
</em:localized>

1
l10n/cy/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Yn defnyddio HTML5 i arddangos ffeiliau PDF yn uniongyrchol yn Firefox.</em:description>
</Description>
</em:localized>

1
l10n/da/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Benytter HTML5 til at vise PDF-filer direkte i Firefox.</em:description>
</Description>
</em:localized>

1
l10n/de/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Nutzt HTML5, um PDFs direkt in Firefox anzuzeigen.</em:description>
</Description>
</em:localized>

1
l10n/el/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Χρήση HTML5 για εμφάνιση αρχείων PDF κατευθείαν μέσα στο Firefox.</em:description>
</Description>
</em:localized>

1
l10n/en-US/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Uses HTML5 to display PDF files directly in Firefox.</em:description>
</Description>
</em:localized>

1
l10n/fa/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>از اچتیامال۵ برای نمایش پروندههای پیدیاف بهصورت مستقیم در فایرفاکس استفاده میکند.</em:description>
</Description>
</em:localized>

1
l10n/fi/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Näyttää PDF tiedostot suoraan Firefox:ssa HTML5:n avulla.</em:description>
</Description>
</em:localized>

1
l10n/he/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>הצגת קבצי PDF ישירות ב־Firefox באמצעות HTML5.</em:description>
</Description>
</em:localized>

1
l10n/it/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Usa HTML5 per visualizzare i file PDF direttamente in Firefox.</em:description>
</Description>
</em:localized>

1
l10n/ja/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>HTML5を使用して、Firefoxで直接PDFファイルを表示します。</em:description>
</Description>
</em:localized>

1
l10n/ko/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Firefox가 PDF 파일을 HTML5를 이용하여 직접 보여줍니다.</em:description>
</Description>
</em:localized>

1
l10n/lt/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>PDF bylos vaizduojamos tiesiogiai, naudojant HTML5 Firefox naršyklėje.</em:description>
</Description>
</em:localized>

1
l10n/nl/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Gebruikt HTML5 om PDF-bestanden direct in Firefox te openen.</em:description>
</Description>
</em:localized>

1
l10n/pl/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Używa HTML5 do wyświetlania plików PDF bezpośrednio w Firefoksie.</em:description>
</Description>
</em:localized>

1
l10n/pt-BR/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Aprensenta PDFs no browser usando a tecnologia HTML5.</em:description>
</Description>
</em:localized>

1
l10n/ro/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Afișează fișierele PDF direct în Firefox.</em:description>
</Description>
</em:localized>

1
l10n/ru/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Показывает файлы PDF непосредственно в Firefox используя HTML5.</em:description>
</Description>
</em:localized>

1
l10n/sr/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Користи ХТМЛ5 да би приказао ПДФ датотеке директно у Фајерфоксу.</em:description>
</Description>
</em:localized>

1
l10n/tr/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>Firefox içerisinde PDFleri göstermek için HTML5 kullanır.</em:description>
</Description>
</em:localized>

1
l10n/vi/metadata.inc

@ -5,4 +5,3 @@ @@ -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>

1
l10n/zh-CN/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>使用 HTML5 来支持在 Firefox 中直接显示 PDF 文件。</em:description>
</Description>
</em:localized>

1
l10n/zh-TW/metadata.inc

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
<em:description>利用 HTML5 技術在 Firefox 中直接顯示 PDF 格式檔案。</em:description>
</Description>
</em:localized>

1
src/core/bidi.js

@ -424,4 +424,3 @@ var bidi = PDFJS.bidi = (function bidiClosure() { @@ -424,4 +424,3 @@ var bidi = PDFJS.bidi = (function bidiClosure() {
return bidi;
})();

1
src/core/charsets.js

@ -116,4 +116,3 @@ var ExpertSubsetCharset = [ @@ -116,4 +116,3 @@ var ExpertSubsetCharset = [
'eightinferior', 'nineinferior', 'centinferior', 'dollarinferior',
'periodinferior', 'commainferior'
];

1
src/core/chunked_stream.js

@ -560,4 +560,3 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() { @@ -560,4 +560,3 @@ var ChunkedStreamManager = (function ChunkedStreamManagerClosure() {
return ChunkedStreamManager;
})();

1
src/core/core.js

@ -530,4 +530,3 @@ var PDFDocument = (function PDFDocumentClosure() { @@ -530,4 +530,3 @@ var PDFDocument = (function PDFDocumentClosure() {
return PDFDocument;
})();

1
src/core/font_renderer.js

@ -710,4 +710,3 @@ var FontRendererFactory = (function FontRendererFactoryClosure() { @@ -710,4 +710,3 @@ var FontRendererFactory = (function FontRendererFactoryClosure() {
}
};
})();

1
src/core/jpx.js

@ -2213,4 +2213,3 @@ var JpxImage = (function JpxImageClosure() { @@ -2213,4 +2213,3 @@ var JpxImage = (function JpxImageClosure() {
return JpxImage;
})();

1
src/core/metrics.js

@ -2958,4 +2958,3 @@ var Metrics = { @@ -2958,4 +2958,3 @@ var Metrics = {
'a191': 918
}
};

1
src/core/network.js

@ -274,4 +274,3 @@ var NetworkManager = (function NetworkManagerClosure() { @@ -274,4 +274,3 @@ var NetworkManager = (function NetworkManagerClosure() {
return NetworkManager;
})();

1
src/core/pdf_manager.js

@ -222,4 +222,3 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() { @@ -222,4 +222,3 @@ var NetworkPdfManager = (function NetworkPdfManagerClosure() {
return NetworkPdfManager;
})();

1
src/display/canvas.js

@ -2149,4 +2149,3 @@ var CanvasGraphics = (function CanvasGraphicsClosure() { @@ -2149,4 +2149,3 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
return CanvasGraphics;
})();

1
src/shared/cffStandardStrings.js

@ -311,4 +311,3 @@ var CFFDictPrivateDataMap = { @@ -311,4 +311,3 @@ var CFFDictPrivateDataMap = {
operand: 0
}
};

1
src/shared/fonts_utils.js

@ -431,4 +431,3 @@ function writeToFile(aBytes, aFilePath) { @@ -431,4 +431,3 @@ function writeToFile(aBytes, aFilePath) {
bos.writeByteArray(aBytes, aBytes.length);
stream.close();
}

1
test/features/tests.js

@ -665,4 +665,3 @@ function checkCanvas(font) { @@ -665,4 +665,3 @@ function checkCanvas(font) {
colors[2][2] * 3 < counts[2][2];
return isPlus;
}

1
test/features/worker-stub.js

@ -37,4 +37,3 @@ onmessage = function (e) { @@ -37,4 +37,3 @@ onmessage = function (e) {
break;
}
};

1
test/font/font_test.html

@ -99,4 +99,3 @@ @@ -99,4 +99,3 @@
<body>
</body>
</html>

1
test/mozcentral/moz.build

@ -5,4 +5,3 @@ @@ -5,4 +5,3 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
BROWSER_CHROME_MANIFESTS += ['browser.ini']

1
test/resources/browser_manifests/.gitignore vendored

@ -1,2 +1 @@ @@ -1,2 +1 @@
browser_manifest.json

1
test/resources/firefox/extensions/special-powers@mozilla.org/chrome/specialpowers/content/SpecialPowersObserverAPI.js

@ -411,4 +411,3 @@ SpecialPowersObserverAPI.prototype = { @@ -411,4 +411,3 @@ SpecialPowersObserverAPI.prototype = {
return undefined;
}
};

1
test/stats/results/.gitignore vendored

@ -2,4 +2,3 @@ @@ -2,4 +2,3 @@
*
# Except this file
!.gitignore

1
test/test_slave.html

@ -45,4 +45,3 @@ limitations under the License. @@ -45,4 +45,3 @@ limitations under the License.
</script>
</body>
</html>

1
test/unit/cmap_spec.js

@ -108,4 +108,3 @@ describe('cmap', function() { @@ -108,4 +108,3 @@ describe('cmap', function() {
expect(cmap.builtInCMap).toBeTruthy();
});
});

1
test/unit/evaluator_spec.js

@ -229,4 +229,3 @@ describe('evaluator', function() { @@ -229,4 +229,3 @@ describe('evaluator', function() {
});
});
});

1
test/unit/function_spec.js

@ -520,4 +520,3 @@ describe('function', function() { @@ -520,4 +520,3 @@ describe('function', function() {
});
});
});

1
test/unit/obj_spec.js

@ -148,4 +148,3 @@ describe('obj', function() { @@ -148,4 +148,3 @@ describe('obj', function() {
});
});
});

1
test/unit/parser_spec.js

@ -74,4 +74,3 @@ describe('parser', function() { @@ -74,4 +74,3 @@ describe('parser', function() {
});
});
});

1
test/unit/stream_spec.js

@ -41,4 +41,3 @@ describe('stream', function() { @@ -41,4 +41,3 @@ describe('stream', function() {
});
});
});

1
test/unit/unit_test.html

@ -104,4 +104,3 @@ @@ -104,4 +104,3 @@
<body>
</body>
</html>

1
test/unit/util_spec.js

@ -78,4 +78,3 @@ describe('util', function() { @@ -78,4 +78,3 @@ describe('util', function() {
});
});

1
web/pdf_find_bar.js

@ -163,4 +163,3 @@ var PDFFindBar = (function PDFFindBarClosure() { @@ -163,4 +163,3 @@ var PDFFindBar = (function PDFFindBarClosure() {
};
return PDFFindBar;
})();

1
web/pdf_find_controller.js

@ -398,4 +398,3 @@ var PDFFindController = (function PDFFindControllerClosure() { @@ -398,4 +398,3 @@ var PDFFindController = (function PDFFindControllerClosure() {
};
return PDFFindController;
})();

Loading…
Cancel
Save