Update index.html
This commit is contained in:
parent
3b68d96998
commit
d694477c4e
1 changed files with 4 additions and 4 deletions
|
@ -231,8 +231,8 @@
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.62.0/mode/css/css.min.js"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.62.0/mode/css/css.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
const codeArea = document.getElementById("code-area");
|
var codeArea = document.getElementById("code-area");
|
||||||
const editor = CodeMirror.fromTextArea(codeArea, {
|
var editor = CodeMirror.fromTextArea(codeArea, {
|
||||||
lineNumbers: true,
|
lineNumbers: true,
|
||||||
theme: "dracula",
|
theme: "dracula",
|
||||||
autoCloseBrackets: true,
|
autoCloseBrackets: true,
|
||||||
|
@ -245,8 +245,8 @@
|
||||||
|
|
||||||
editor.setSize("100%", "100%");
|
editor.setSize("100%", "100%");
|
||||||
|
|
||||||
const fileList = document.getElementById("file-list");
|
var fileList = document.getElementById("file-list");
|
||||||
const files = {
|
var files = {
|
||||||
"Welcome2SneedCode.md":
|
"Welcome2SneedCode.md":
|
||||||
"# Welcome to sneedCode\n\nThis is a speedy web-based code editor made \n to look familiar to the user but with a different workflow. \n\n Made with <3 by Sneed Group.",
|
"# Welcome to sneedCode\n\nThis is a speedy web-based code editor made \n to look familiar to the user but with a different workflow. \n\n Made with <3 by Sneed Group.",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue