<p dir="auto">In new docs v3.1.0 on page "customize" Google Chrome says:<br>
"Uncaught SyntaxError: Unexpected token / /assets/js/customize.min.js:35".</p>
<p dir="auto">Also not working button "toggle all"</p>
<p dir="auto">I'm opening the issue so we can track its upstream progress.</p>
<p dir="auto">The customizer fails for me today...</p>
<p dir="auto">Firefox <code class="notranslate">SyntaxError: invalid regular expression flag s customize.min.js:35</code><br>
Chrome <code class="notranslate">Uncaught SyntaxError: Unexpected token ILLEGAL customize.min.js:35</code></p>
<p dir="auto">which is an uglifyjsweb line. I tried updating uglifyjsweb to the latest uglifyjs 1.x but still the same.</p>
<p dir="auto">What fixes the issue for me is if I skip the file from being minified. So it led me to think it's a regression in uglifyjs 2.4.9 which was released today. I replaced the uglify used in grunt-contrib-uglify with v2.4.8 and voila, everything works fine.</p>
<p dir="auto">So someone should report this upstream to uglify-js2.</p>