WebFontConfig = {
google: {
families: [ 'Tangerine', 'Cantarell' ]
},
typekit: {
id: 'myKitId'
},
loading: function() {
},
fontloading: function(fontFamily, fontDescription) {
},
fontactive: function(fontFamily, fontDescription) {
},
fontinactive: function(fontFamily, fontDescription) {
},
active: function() {
},
inactive: function() {
}
};
(function() {
var wf = document.createElement('script');
wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
source
share