Console error – SyntaxError: missing ) after argument list
-
Sometimes I’m seeing the console error SyntaxError: missing ) after argument list. Looking at it, it seems like it might be something in the Kint code, but I’m not familiar enough with it to know for sure. It does seem to happen with Litespeed cache enabled, though I don’t know if that’s just a coincidence. It seems to revolve around the below code. Could be Kint exposing something in Litespeed, or Litespeed exposing something in Kint…
b.document.write("<html><head><title>Kint ("+(new Date).toISOString()+')</title><meta charset="utf-8">'+document.getElementsByClassName("-kint-js")[0].outerHTML+document.getElementsByClassName("-kint-css")[0].outerHTML+'</head><body><input style="width: 100%" placeholder="Take some notes!"><div class="kint">'+a.parentNode.outerHTML+"</div><script src="https://wellnessstockshop.com/prod/wp-content/plugins/litespeed-cache/assets/js/lazyload.min.js"></script></body>"),b.document.close()},x=function(a,b){function c(a){var c=1===b?a.replace(/^#/,""):a;if(isNaN(c))return a.trim().toLocaleLowerCase();c=parseFloat(c);return isNaN(c)?
- The topic ‘Console error – SyntaxError: missing ) after argument list’ is closed to new replies.