mirror of
https://github.com/braver/programmingfonts.git
synced 2024-09-29 14:51:34 +02:00
remove webfont loader to reduce initial load
This commit is contained in:
parent
554875c037
commit
e821832284
@ -105,9 +105,6 @@
|
|||||||
<link href="//cloud.webtype.com/css/7e544c5e-55dc-4b41-a8d3-c13f7e0a13d3.css" rel="stylesheet" type="text/css" />
|
<link href="//cloud.webtype.com/css/7e544c5e-55dc-4b41-a8d3-c13f7e0a13d3.css" rel="stylesheet" type="text/css" />
|
||||||
<link href='http://fonts.googleapis.com/css?family=Poppins:300,500' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Poppins:300,500' rel='stylesheet' type='text/css'>
|
||||||
|
|
||||||
<!-- Google/Typekit Web Font Loader: https://github.com/typekit/webfontloader -->
|
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.5.6/webfont.js"></script>
|
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html {
|
html {
|
||||||
@ -484,11 +481,6 @@ function updateGutters(cm) {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// configure the webfont loader
|
|
||||||
WebFont.load({
|
|
||||||
custom: { families: font_aliases }
|
|
||||||
});
|
|
||||||
|
|
||||||
var hash = window.location.hash.substring(1);
|
var hash = window.location.hash.substring(1);
|
||||||
if(hash){
|
if(hash){
|
||||||
$("#select-font").val(hash);
|
$("#select-font").val(hash);
|
||||||
|
Loading…
Reference in New Issue
Block a user