This commit is contained in:
jscraft 2024-07-26 04:59:47 +00:00
parent b8c7acea9e
commit 6e886f6934
4 changed files with 74 additions and 1 deletions

58
.replit Normal file
View file

@ -0,0 +1,58 @@
hidden=[".config"]
[nix]
channel = "stable-21_11"
[languages.html]
pattern = "**/*.html"
[languages.html.languageServer]
start = ["vscode-html-language-server", "--stdio"]
[languages.html.languageServer.initializationOptions]
provideFormatter = true
[languages.html.languageServer.configuration.html]
customData = [ ]
autoCreateQuotes = true
autoClosingTags = true
mirrorCursorOnMatchingTag = false
[languages.html.languageServer.configuration.html.completion]
attributeDefaultValue = "doublequotes"
[languages.html.languageServer.configuration.html.format]
enable = true
wrapLineLength = 120
unformatted = "wbr"
contentUnformatted = "pre,code,textarea"
indentInnerHtml = false
preserveNewLines = true
indentHandlebars = false
endWithNewline = false
extraLiners = "head, body, /html"
wrapAttributes = "auto"
templating = false
unformattedContentDelimiter = ""
[languages.html.languageServer.configuration.html.suggest]
html5 = true
[languages.html.languageServer.configuration.html.validate]
scripts = true
styles = true
[languages.html.languageServer.configuration.html.hover]
documentation = true
references = true
[languages.html.languageServer.configuration.html.trace]
server = "off"
[languages.javascript]
pattern = "**/{*.js,*.jsx,*.ts,*.tsx,*.mjs,*.cjs}"
[languages.javascript.languageServer]
start = ["typescript-language-server", "--stdio"]
[languages.css]
pattern = "**/{*.less,*.scss,*.css}"
[languages.css.languageServer]
start = "vscode-css-language-server --stdio"

7
anti-steal.js Normal file
View file

@ -0,0 +1,7 @@
const container = document.getElementById('container');
if (container.textContent.includes('SM64-JS | Made by Chase Wicklund on replit! (@jscraft)')) {
console.log('');
} else {
console.log('Do not steal code. Here is the original repl. https://replit.com/@jscraft/sm64');
}

View file

@ -1,5 +1,7 @@
<title>Click to Start!</title> <title>Click to Start!</title>
<center><h1>SM<wbr>6<wbr>4-J<wbr>S - Su<wbr>p<wbr>er Ma<wbr>ri<wbr>o 6<wbr>4 made entirely out of J<wbr>av<wbr>aSc<wbr>rip<wbr>t and W<wbr>ebA<wbr>ss<wbr>e<wbr>mbl<wbr>y!</h1><h3>Mad<wbr>e by T<wbr>W<wbr>TG.</h3><hr></hr><p>Due to C<wbr>hr<wbr>om<wbr>e's S<wbr>t<wbr>u<wbr>p<wbr>i<wbr>d A<wbr>ud<wbr>io<wbr>/V<wbr>i<wbr>d<wbr>e<wbr>o A<wbr>ut<wbr>op<wbr>l<wbr>ay<wbr> P<wbr>ol<wbr>ic<wbr>y,<wbr> Cli<wbr>ck<wbr> t<wbr>he <wbr>pa<wbr>ge <wbr>to <wbr>st<wbr>art <wbr>th<wbr>e <wbr>g<wbr>a<wbr>me.</p></center> <script src="anti-steal.js"></script>
<center><h1>Click to Start!</h1>
<h3>SM64-JS | Made by Chase Wicklund on replit! (@jscraft)</h3></center>
<script> <script>
document.addEventListener('click', () => { document.addEventListener('click', () => {
<!-- <!--

6
replit.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs }: {
deps = [
pkgs.nodePackages.vscode-langservers-extracted
pkgs.nodePackages.typescript-language-server
];
}