Browse Source

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
```
Jonas Jenwald 9 years ago
parent
commit
cca265352f
  1. 2
      src/shared/util.js

2
src/shared/util.js

@ -1633,7 +1633,7 @@ function loadJpegStream(id, imageUrl, objs) { @@ -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) {

Loading…
Cancel
Save