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
dynamic-site/js/modernizr.js dot-notation   (kritika/ESLint)
["touch"] is better written in dot notation
Notice
446
     * We also test for Firefox 4 Multitouch Support.
447
     *
448
     * For more info, see: modernizr.github.com/Modernizr/touch.html
449
     */
450
 
451
    tests['touch'] = function() {
452
        var bool;
453
 
454
        if(('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {
455
          bool = true;
456
        } else {
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