[Pkg-javascript-commits] [pdf.js] 08/14: Add an extra set of `//` to the comment for the URL polyfill, since the preprocessor eats one set, thus breaking the world (PR 6846 followup)

David Prévot taffit at moszumanska.debian.org
Sat Jan 30 19:19:50 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 2497f3fbc6c884324f043ab9e5712c05fea4ac95
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Thu Jan 14 22:43:34 2016 +0100

    Add an extra set of `//` to the comment for the URL polyfill, since the preprocessor eats one set, thus breaking the world (PR 6846 followup)
    
    The Firefox addon currently fails with:
    ```
    SyntaxError: missing ; before statement pdf.js:1692:12
    TypeError: PDFJS.shadow is not a function viewer.js:6228:12
    ```
---
 src/shared/util.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/util.js b/src/shared/util.js
index 50dd476..c4692e2 100644
--- a/src/shared/util.js
+++ b/src/shared/util.js
@@ -1649,7 +1649,7 @@ function loadJpegStream(id, imageUrl, objs) {
 }
 
 //#if !(MOZCENTRAL)
-// Polyfill from https://github.com/Polymer/URL
+//// Polyfill from https://github.com/Polymer/URL
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 (function checkURLConstructor(scope) {

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