cleaned whitespace

This commit is contained in:
Collin Anderson 2015-02-02 10:12:52 -05:00
parent 76a24d8a5b
commit 54e984c763
89 changed files with 56 additions and 126 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,4 +5,3 @@
<em:description>ফায়ারফক্স সরাসরি পিডিএফ দেখানোর জন্যে HTML5 ব্যাবহার করে।</em:description> <em:description>ফায়ারফক্স সরাসরি পিডিএফ দেখানোর জন্যে HTML5 ব্যাবহার করে।</em:description>
</Description> </Description>
</em:localized> </em:localized>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,4 +5,3 @@
<em:description>Dùng HTML5 để hiện thị PDF trực tiếp trên FireFox.</em:description> <em:description>Dùng HTML5 để hiện thị PDF trực tiếp trên FireFox.</em:description>
</Description> </Description>
</em:localized> </em:localized>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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