MCPcopy
hub / github.com/xcanwin/KeepChatGPT / verInt

Function verInt

KeepChatGPT.user.js:2590–2597  ·  view source on GitHub ↗
(vs)

Source from the content-addressed store, hash-verified

2588 };
2589
2590 const verInt = function (vs) {
2591 const vl = vs.split(".");
2592 let vi = 0;
2593 for (let i = 0; i < vl.length && i < 3; i++) {
2594 vi += parseInt(vl[i]) * 1000 ** (2 - i);
2595 }
2596 return vi;
2597 };
2598
2599 const checkForUpdates = function (action = "click") {
2600 const downloadURL = `https://raw.githubusercontent.com/xcanwin/KeepChatGPT/main/KeepChatGPT.user.js`;

Callers 1

checkForUpdatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected