From cca265352f71e984c7ada29329f9b8363bc6af2e Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 14 Jan 2016 22:43:34 +0100 Subject: [PATCH] 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 83ab72ba92580..286968881e39b 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) {