customizr
customizr copied to clipboard
Feature checks detected within comments and strings
customizr (used via gulp-modernizr) detects feature checks within comments.
Is this the intended behavior? Thanks!
Example 1
//if (Modernizr.getusermedia){
// ...
//}
=> <html class="js getusermedia">
Example 2
console.log('Modernizr.audio'); => <html class="js audio">