Only export Uint32ArrayView when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version

*This is a follow-up to PR 6683.*
This commit is contained in:
Jonas Jenwald 2015-12-16 11:15:36 +01:00
parent f1c64b6a2a
commit d4c026980e

View File

@ -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;