use ES6 modules for all JavaScript
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/build"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
@@ -935,6 +936,5 @@ export PATH="$PATH:$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools:
|
||||
<li><a href="https://reddit.com/r/GrapheneOS">Reddit</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="/redirect.js?5"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/faq"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
@@ -653,6 +654,5 @@
|
||||
<li><a href="https://reddit.com/r/GrapheneOS">Reddit</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="/redirect.js?5"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
@@ -114,6 +115,5 @@
|
||||
<li><a href="https://reddit.com/r/GrapheneOS">Reddit</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="/redirect.js?5"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
|
||||
|
||||
"use strict";
|
||||
|
||||
// Client-side redirects for fragments (anchors)
|
||||
//
|
||||
// It should be possible to do this with server-side redirects, but it was never implemented or
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/releases"/>
|
||||
<script type="module" src="/releases.js?12"></script>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
@@ -1098,7 +1100,5 @@
|
||||
<li><a href="https://reddit.com/r/GrapheneOS">Reddit</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="/releases.js?11"></script>
|
||||
<script src="/redirect.js?5"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
|
||||
|
||||
"use strict";
|
||||
|
||||
const baseUrl = "https://releases.grapheneos.org/";
|
||||
const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
|
||||
const devices = ["bonito", "sargo", "crosshatch", "blueline", "taimen", "walleye"];
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<link rel="stylesheet" href="/grapheneos.css?16"/>
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="canonical" href="https://grapheneos.org/usage"/>
|
||||
<script type="module" src="/redirect.js?6"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav>
|
||||
@@ -335,6 +336,5 @@
|
||||
<li><a href="https://reddit.com/r/GrapheneOS">Reddit</a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
<script src="/redirect.js?5"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user