DOM exception when using minified js

I have 6 Javascript files in my project, the functionality of which works great when stored as is. If I minimize all these js files using (jscompress.com) into one file. When I click on a specific button, it gets stuck with it disabled.

"Failed to execute 'webkitMatchesSelector' in 'Element': '[test! =' ']: Sizzle' is not a valid selector." name: "SyntaxError" stack: "Error: failed to execute" webkitMatchesSelector "in" Element ": '[test! =' ']: sizzle' is not

When will we get such an exception, as this does not seem to be directly related to my project code. Is this related to the minifier?

+4
source share

Source: https://habr.com/ru/post/1546682/


All Articles