Replace jquery with cash
This commit is contained in:
parent
7819c1c1cd
commit
5d637e6535
5 changed files with 1243 additions and 10726 deletions
1237
static/cash.js
Normal file
1237
static/cash.js
Normal file
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@
|
|||
<link rel="stylesheet" href="./noScript.css">
|
||||
</noscript>
|
||||
|
||||
<script src="./jquery.js"></script>
|
||||
<script src="./cash.js"></script>
|
||||
<script src="./main.js"></script>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
|
|
10716
static/jquery.js
vendored
10716
static/jquery.js
vendored
File diff suppressed because it is too large
Load diff
|
@ -54,7 +54,7 @@ var firsttimeDebounce = true
|
|||
var spinWaiting = false
|
||||
|
||||
function resetPFP() {
|
||||
$(".pfp").attr("src", "https://api.violets-purgatory.dev/v1/pfp?" + new Date().getTime())
|
||||
$(".pfp")
|
||||
}
|
||||
|
||||
function lerp(a, b, t) {
|
||||
|
@ -168,10 +168,6 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
music.play()
|
||||
|
||||
spinning = true
|
||||
|
||||
pfp.css("transition", "")
|
||||
|
||||
pfp.css("scale", "1.1")
|
||||
})
|
||||
|
||||
document.body.onmouseup = () => {
|
||||
|
@ -183,10 +179,6 @@ document.addEventListener("DOMContentLoaded", function() {
|
|||
// whipLash.play()
|
||||
|
||||
spinning = false
|
||||
|
||||
// pfp.style.transition = "all 3s cubic-bezier(0.39, 0.575, 0.565, 1)"
|
||||
|
||||
pfp.css("scale", "1")
|
||||
}
|
||||
}
|
||||
socketeer()
|
||||
|
|
|
@ -68,6 +68,10 @@ body {
|
|||
animation-iteration-count: infinite;
|
||||
}
|
||||
|
||||
.pfp:active {
|
||||
scale: 1.1;
|
||||
}
|
||||
|
||||
.CLAlign {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue