Browse Source

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
Jonas Jenwald 9 years ago
parent
commit
0a21c8c365
  1. 3
      src/shared/util.js

3
src/shared/util.js

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

Loading…
Cancel
Save