js/dist/index.js
function (fontToDetect, baseFont) {
        var s = createSpan()
        s.style.fontFamily = "'" + fontToDetect + "'," + baseFont
        return s
      }
function (fontToDetect, baseFont) {
        var s = createSpan()
        s.style.fontFamily = "'" + fontToDetect + "'," + baseFont
        return s
      }
function ( fontToDetect , baseFont ) { var s = createSpan ( ) s . style . fontFamily = "'" + fontToDetect + "'," + baseFont return s }
creates a span and load the font to detect and a base font for fallback
creates a span and load the font to detect and a base font for fallback