-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<meta charset="utf-8"> | ||
<meta http-equiv="Permissions-Policy" content="interest-cohort=()" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | ||
|
||
<title>Vyxal 3 Interpreter</title> | ||
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" | ||
|
@@ -28,9 +29,6 @@ | |
<script src="https://unpkg.com/@popperjs/core@2"></script> | ||
<script defer src="https://unpkg.com/react-popper/dist/index.umd.js"></script> | ||
<script defer src="https://unpkg.com/[email protected]"></script> | ||
<link rel="stylesheet" href="https://vyxal.github.io/Vylight/mode-vyxal.css"> | ||
|
||
<link rel="stylesheet" href="https://vyxal.github.io/Vylight/mode-vyxal.css"> | ||
|
||
<script type="importmap"> | ||
{ | ||
|
@@ -47,24 +45,17 @@ | |
selectedBox = box; | ||
} | ||
|
||
function backupLoad(remotePath) { | ||
let scriptTag = document.createElement("script"); | ||
scriptTag.src = remotePath; | ||
scriptTag.onerror = function () { | ||
console.log("Error loading both local and remote scripts for " + remotePath); | ||
} | ||
document.head.appendChild(scriptTag); | ||
} | ||
|
||
function setFunctions() { | ||
resizeCodeBox = window.resizeCodeBox; | ||
updateCount = window.updateCount; | ||
copyToClipboard = window.copyToClipboard; | ||
} | ||
</script> | ||
<script src="./main.js" type="module" onload="setFunctions()" defer></script> | ||
<script src="parsed_yaml.js" onerror="backupLoad('https://vyxal.github.io/Vyxal/parsed_yaml.js')" defer></script> | ||
<script src="keyboard.js" type="module"></script> | ||
<!-- === --> | ||
<script src="https://vyxal.github.io/Vyxal/parsed_yaml.js" defer></script> | ||
<!-- === --> | ||
<script src="keyboard.js" type="module" defer></script> | ||
<link rel="stylesheet" type="text/css" href="./style.css"> | ||
</head> | ||
|
||
|
@@ -149,4 +140,4 @@ <h2 style="display: inline-block;"><a href="https://github.com/Vyxal/Vyxal/tree/ | |
</details> | ||
</body> | ||
|
||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters