Nuke jquery

This commit is contained in:
Andrei Andreev 2022-02-06 20:34:17 +03:00
parent dbf1e6f70a
commit 81050a12fc
4 changed files with 2 additions and 8 deletions

View File

@ -6,7 +6,6 @@
<link rel="icon" type="image/png" href="icon.png">
<meta name="Antimatter Dimensions" content="A game about huge numbers and watching them go up." >
<script type="text/javascript" src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
<script type="text/javascript" src="lib/jquery-3.2.1.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="stylesheets/codemirror/codemirror.css">

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,6 @@
<link rel="icon" type="image/png" href="icon.png">
<meta name="Antimatter Dimensions" content="A game about huge numbers and watching them go up." charset="utf-8" />
<script type="text/javascript" src='https://cdn1.kongregate.com/javascripts/kongregate_api.js'></script>
<script type="text/javascript" src="lib/jquery-3.2.1.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="stylesheets/ad-slider-component.css">
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css?3">

View File

@ -359,8 +359,8 @@ export default {
const boundary = 100;
if (ev.clientY < boundary) {
this.$viewModel.scrollWindow = -1 + 0.9 * ev.clientY / boundary;
} else if (ev.clientY > $(window).height() - boundary) {
this.$viewModel.scrollWindow = 1 - 0.9 * ($(window).height() - ev.clientY) / boundary;
} else if (ev.clientY > window.innerHeight - boundary) {
this.$viewModel.scrollWindow = 1 - 0.9 * (window.innerHeight - ev.clientY) / boundary;
} else {
this.$viewModel.scrollWindow = 0;
}