[Pkg-javascript-commits] [pdf.js] 07/414: Only export `Uint32ArrayView` when it's actually defined, to prevent breaking e.g. the Firefox addon/built-in version

David Prévot taffit at moszumanska.debian.org
Tue Jun 28 17:11:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit d4c026980e480929d924ee663c249331439ccb49
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Wed Dec 16 11:15:36 2015 +0100

    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.*
---
 src/shared/util.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shared/util.js b/src/shared/util.js
index 9b203ca..baf3ee7 100644
--- a/src/shared/util.js
+++ b/src/shared/util.js
@@ -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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list