Closed vanodevium closed 4 months ago
Clarification: It's not possible error, it's valid error.
Thanks for your PR, Could you please provide a minimal reproductible example
@Inqnuam
Of course. There is library where this problem I see.
Let me show you the main problem: please open https://unpkg.com/sprae@10.9.3/dist/sprae.umd.js and find two lines:
if (document?.currentScript?.hasAttribute('init')) sprae(document.documentElement)if (typeof module.exports == "object" && typeof exports == "object") {
}))if (typeof module.exports == "object" && typeof exports == "object") {
In both cases there is problem with sequence )if
@Inqnuam
Clarification: while I was looking for a solution, I realized that the first line can be fixed from the side of the library, but the second - definitely only from the side of the plugin.
@Inqnuam
Please update the version in the npm registry, thanks!
should work now
There It would be useful to be able to put a semicolon between expressions so that the editor doesn't highlight it as a possible error.