mirror of
https://github.com/IvarK/AntimatterDimensionsSourceCode.git
synced 2024-11-22 04:05:42 +00:00
Nuke jquery
This commit is contained in:
parent
dbf1e6f70a
commit
81050a12fc
@ -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">
|
||||
|
4
public/lib/jquery-3.2.1.min.js
vendored
4
public/lib/jquery-3.2.1.min.js
vendored
File diff suppressed because one or more lines are too long
@ -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">
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user