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:
Jonas Jenwald 2015-12-16 11:24:41 +01:00
commit 0a21c8c365

View File

@ -631,6 +631,8 @@ var Uint32ArrayView = (function Uint32ArrayViewClosure() {
return Uint32ArrayView; return Uint32ArrayView;
})(); })();
exports.Uint32ArrayView = Uint32ArrayView;
//#else //#else
//PDFJS.hasCanvasTypedArrays = true; //PDFJS.hasCanvasTypedArrays = true;
//#endif //#endif
@ -1663,7 +1665,6 @@ exports.PasswordResponses = PasswordResponses;
exports.StatTimer = StatTimer; exports.StatTimer = StatTimer;
exports.StreamType = StreamType; exports.StreamType = StreamType;
exports.TextRenderingMode = TextRenderingMode; exports.TextRenderingMode = TextRenderingMode;
exports.Uint32ArrayView = Uint32ArrayView;
exports.UnexpectedResponseException = UnexpectedResponseException; exports.UnexpectedResponseException = UnexpectedResponseException;
exports.UnknownErrorException = UnknownErrorException; exports.UnknownErrorException = UnknownErrorException;
exports.Util = Util; exports.Util = Util;