'use strict'; console.log('FFTCrudExample.fontFaceOnload check'); var ffolStartTime = new Date().getTime(); FontFaceOnload('Source Sans', { timeout: 1234, success: function() { console.log('FFTCrudExample.FontFaceOnload success in '+(new Date().getTime()-ffolStartTime)+' ms.'); document.documentElement.className += ' fontLoaded'; }, error: function() { console.log('FFTCrudExample.fontFaceOnload timeout.'); document.documentElement.className += ' fontLoaded'; } });