assets/digest/fontdetect.js
Function Detector
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Detector = function() {
// a font will be compared against all the three default fonts.
// and if it doesn't match all 3 then that font is not available.
var baseFonts = ['monospace', 'sans-serif', 'serif'];