Filter by:
File Violation Severity
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["flexbox"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["canvas"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["flexboxlegacy"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["canvas"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["canvastext"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["webgl"] is better written in dot notation
Notice
428
    // webk.it/70117 is tracking a legit WebGL feature detect proposal
429
 
430
    // We do a soft detect which may false positive in order to avoid
431
    // an expensive context creation: bugzil.la/732441
432
 
433
    tests['webgl'] = function() {
434
        return !!window.WebGLRenderingContext;
435
    };
436
 
437
    /*
438
     * The Modernizr.touch test only indicates if the browser supports
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["touch"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["postmessage"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["position"] is better written in dot notation
Notice
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["geolocation"] is better written in dot notation
Notice