[Project_owners] Anyone using InstallTrigger.compareVersion() ?

Pete Collins pete at mozdevgroup.com
Sat Jan 22 21:41:48 EST 2005

In jsLib install.js I have this func:

function checkVersion ()
  var ver = new String(InstallTrigger.getVersion("jslib"));

  // strip off build info 
  ver = ver.substring(0, ver.lastIndexOf("."));

  return (G_VER >= ver);

Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions 

More information about the Project_owners mailing list