diff options
author | 0neGal <mail@0negal.com> | 2024-06-08 18:10:06 +0200 |
---|---|---|
committer | 0neGal <mail@0negal.com> | 2024-06-08 18:10:06 +0200 |
commit | 7f011d34a2d5e13ba312b44ce6871e48a495ea8f (patch) | |
tree | 907875087645c62f3e8f3bbcd610bee6d06bc796 /src/app/js | |
parent | dbd8c6b152acc1188d2edd288488aa2da8f6310b (diff) | |
download | Viper-7f011d34a2d5e13ba312b44ce6871e48a495ea8f.tar.gz Viper-7f011d34a2d5e13ba312b44ce6871e48a495ea8f.zip |
replace js/misc.js file with js/version.js module
Diffstat (limited to 'src/app/js')
-rw-r--r-- | src/app/js/version.js (renamed from src/app/js/misc.js) | 2 |
1 files changed, 1 insertions, 1 deletions
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("."); |