[Pkg-javascript-commits] [pdf.js] 103/414: 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
Tue Jun 28 17:12:10 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 cca265352f71e984c7ada29329f9b8363bc6af2e
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 83ab72b..2869688 100644
--- a/src/shared/util.js
+++ b/src/shared/util.js
@@ -1633,7 +1633,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