User:Gabriel dos Santos/common.js: Difference between revisions
Appearance
Created page with "window.hotcat_translations_from_commons = true; /* This imports the latest version of HotCat from Commons. HotCat is a gadget to make changes to categories much easier. Fu..." |
No edit summary |
||
Line 1: | Line 1: | ||
WebFontConfig = { | |||
google: { families: [ 'Cabin:400,500,400italic,500italic,600,600italic,700,700italic:latin' ] } | |||
}; | |||
(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); | |||
})(); |
Latest revision as of 16:19, 1 April 2015
WebFontConfig = {
google: { families: [ 'Cabin:400,500,400italic,500italic,600,600italic,700,700italic:latin' ] }
};
(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);
})();