JShrink
JShrink copied to clipboard
Error in handling of /^(?:[a-z]+:)?\/\//
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!