JShrink icon indicating copy to clipboard operation
JShrink copied to clipboard

Error in handling of /^(?:[a-z]+:)?\/\//

Open ThomasDaheim opened this issue 5 years ago • 0 comments

I have tried to use JShrink v1.3.3 on pannellum.js (from https://github.com/mpetroff/pannellum/releases/download/2.5.6/pannellum-2.5.6.zip) and I have found the following:

pannellum.js contains /^(?:[a-z]+:)?\/\// which can't be handled by JShrink. What happens: Everything after \/\ is skipped until the end of the current line.

Any hints on how to avoid/resolve this are welcome!

ThomasDaheim avatar Nov 11 '20 15:11 ThomasDaheim