mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #6762 from Snuffleupagus/fix-Uint32ArrayView-exports
Only export `Uint32ArrayView` when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version
This commit is contained in:
commit
0a21c8c365
1 changed files with 2 additions and 1 deletions
|
@ -631,6 +631,8 @@ var Uint32ArrayView = (function Uint32ArrayViewClosure() {
|
|||
|
||||
return Uint32ArrayView;
|
||||
})();
|
||||
|
||||
exports.Uint32ArrayView = Uint32ArrayView;
|
||||
//#else
|
||||
//PDFJS.hasCanvasTypedArrays = true;
|
||||
//#endif
|
||||
|
@ -1663,7 +1665,6 @@ exports.PasswordResponses = PasswordResponses;
|
|||
exports.StatTimer = StatTimer;
|
||||
exports.StreamType = StreamType;
|
||||
exports.TextRenderingMode = TextRenderingMode;
|
||||
exports.Uint32ArrayView = Uint32ArrayView;
|
||||
exports.UnexpectedResponseException = UnexpectedResponseException;
|
||||
exports.UnknownErrorException = UnknownErrorException;
|
||||
exports.Util = Util;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue