Skip to content

Commit c1e55c2

Browse files
committed
Improved docs page load.
1 parent f69d2f6 commit c1e55c2

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

docs/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
77
<link rel="shortcut icon" href="../files/favicon.ico" />
88
<link rel="stylesheet" type="text/css" href="../files/main.css">
9+
<!-- console sandbox -->
10+
<script src="../build/three.min.js" async defer></script>
911
</head>
1012
<body>
1113

@@ -430,9 +432,6 @@ <h1><a href="http://threejs.org">three.js</a></h1>
430432

431433
</script>
432434

433-
<!-- console sandbox -->
434-
<script src="../build/three.min.js"></script>
435-
436435
</body>
437436

438437
</html>

docs/page.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
@font-face {
22
font-family: 'RobotoMono';
3-
src: url('../files/RobotoMono-Regular.ttf');
3+
src: local('RobotoMono'), url('../files/RobotoMono-Regular.woff2') format('woff2');
44
font-weight: normal;
55
font-style: normal;
66
}
77

88
@font-face {
99
font-family: 'SF-Pro-Text';
10-
src: url('../files/SF-Pro-Text-Regular.otf');
10+
src: local('SF-Pro-Text'), url('../files/SF-Pro-Text-Regular.otf');
1111
font-weight: normal;
1212
font-style: normal;
1313
}

files/RobotoMono-Regular.ttf

-106 KB
Binary file not shown.

files/RobotoMono-Regular.woff2

10.4 KB
Binary file not shown.

files/main.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@font-face {
22
font-family: 'RobotoMono';
3-
src: url('../files/RobotoMono-Regular.ttf');
3+
src: local('RobotoMono'), url('../files/RobotoMono-Regular.woff2') format('woff2');
44
font-weight: normal;
55
font-style: normal;
66
}

0 commit comments

Comments
 (0)