shkuznetsov / gulp-minify-inline

gulp plugin that minifies inline JS and CSS
MIT License
28 stars 5 forks source link

Causes 'Uncaught SyntaxError: Unexpected token ILLEGAL' #4

Closed craigmdennis closed 8 years ago

craigmdennis commented 9 years ago

This is the only js in my <head> that is inside a script tag.

// Add .js class if not using Modernizr
document.documentElement.className = 'js';

// Show :active styles on touch devices
document.addEventListener('touchstart', function(){}, true);
shkuznetsov commented 9 years ago

Sorry could you please clarify that a bit? I can't reproduce the error.

shkuznetsov commented 8 years ago

Sorry closing that due to not being reproducible or followed up on. Please re-open with more details if the issue persists.