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
420
        var elem = document.createElement('canvas');
421
        return !!(elem.getContext && elem.getContext('2d'));
422
    };
423
 
424
    tests['canvastext'] = function() {
425
        return !!(Modernizr['canvas'] && is(document.createElement('canvas').getContext('2d').fillText, 'function'));
426
    };
427
 
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
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
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