forked from royshouvik/react-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (26 loc) · 1.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html ng-app="example">
<head>
<title>React Components</title>
<meta charset="utf-8">
<script>
(function(d) {
var config = {
kitId: 'gig7sjk',
scriptTimeout: 3000,
async: true
},
h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)
})(document);
</script>
</head>
<body>
<div id="root"></div>
<script src="//use.typekit.net/jjo6pal.js"></script>
<script>
try {
Typekit.load({ async: true });
} catch(e){}
</script>
</body>
</html>