- CMyPopupEdit

- CMyEditor
 - MySkills
This commit is contained in:
Paolo Arena
2021-10-28 00:38:10 +02:00
parent 300ab15ca7
commit ad7fc67d43
8 changed files with 126 additions and 48 deletions

View File

@@ -2174,10 +2174,20 @@ module.exports = {
},
getVersionint(versionstr) {
let version = versionstr.replace('.', '');
version = version.replace('.', '');
let versionarr = versionstr.split('.');
let version = 0;
versionarr = versionarr.reverse();
for (let i = 0; i < versionarr.length; i++) {
version += versionarr[i] * Math.pow(10, i*2);
}
return parseInt(version);
},
invertescapeslash(mystr) {
return mystr.replace(/-/g, '/');
},
};