aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/index.html1
-rw-r--r--src/app/js/version.js (renamed from src/app/js/misc.js)2
-rw-r--r--src/app/main.js1
3 files changed, 2 insertions, 2 deletions
diff --git a/src/app/index.html b/src/app/index.html
index 87a1029..1297d0a 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -333,7 +333,6 @@
</div>
<script src="main.js"></script>
- <script src="js/misc.js"></script>
<script src="js/mods.js"></script>
<script src="js/toast.js"></script>
<script src="js/popups.js"></script>
diff --git a/src/app/js/misc.js b/src/app/js/version.js
index b35f239..97223f9 100644
--- a/src/app/js/misc.js
+++ b/src/app/js/version.js
@@ -1,4 +1,4 @@
-version = {
+module.exports = {
is_newer: (version1, version2) => {
version1 = version.format(version1, true).split(".");
version2 = version.format(version2, true).split(".");
diff --git a/src/app/main.js b/src/app/main.js
index 2ed3053..11f5853 100644
--- a/src/app/main.js
+++ b/src/app/main.js
@@ -30,6 +30,7 @@ const kill = require("./js/kill");
const update = require("./js/update");
const events = require("./js/events");
const launch = require("./js/launch");
+const version = require("./js/version");
const request = require("./js/request");
const process = require("./js/process");
const settings = require("./js/settings");