Diff for /calculator/src/install.js between versions 1.2 and 1.12

version 1.2, 2006/01/09 21:11:05 version 1.12, 2007/07/09 06:54:15
Line 4  var localeFlag          = LOCALE | PROFI Line 4  var localeFlag          = LOCALE | PROFI
 var skinFlag            = SKIN | PROFILE_CHROME;  var skinFlag            = SKIN | PROFILE_CHROME;
   
 var displayName         = "Mozilla Calculator"; // The name displayed to the user (don't include the version)  var displayName         = "Mozilla Calculator"; // The name displayed to the user (don't include the version)
var version             = "1.1.0";var version             = "1.1.8";
   
 var name                = "calculator"; // The leafname of the JAR file (without the .jar part)  var name                = "calculator"; // The leafname of the JAR file (without the .jar part)
 var jarName             = name + ".jar";  var jarName             = name + ".jar";
Line 18  var prefFolder          = getFolder(getF Line 18  var prefFolder          = getFolder(getF
 var existsInApplication = File.exists(getFolder(getFolder("chrome"), jarName));  var existsInApplication = File.exists(getFolder(getFolder("chrome"), jarName));
 var existsInProfile     = File.exists(getFolder(folder, jarName));  var existsInProfile     = File.exists(getFolder(folder, jarName));
   
var locales             = new Array( "en-US", "it-IT", "fr-FR", "es-ES", "de-DE", "ja-JP", "pl-PL", "nl-NL", "tr-TR", "ru-RU", "sl-SI", "sk-SK" );var locales             = new Array( "en-US", "it-IT", "fr-FR", "es-ES", "de-DE", "ja-JP", "pl-PL", "nl-NL", "tr-TR", "ru-RU", "sl-SI", "sk-SK", "cs-CZ", "pt-BR", "zh-CN", "az-AZ" );
 var skins               = new Array( "classic" );  var skins               = new Array( "classic" );
 var prefs               = new Array( "prefs.js" );  var prefs               = new Array( "prefs.js" );
 var components          = new Array(  );  var components          = new Array(  );
Line 117  function displayError(error) Line 117  function displayError(error)
         alert("The installation of " + displayName +          alert("The installation of " + displayName +
             " failed.\nThe error code is: " + error);              " failed.\nThe error code is: " + error);
     }      }
 }  
   
   }

Removed from v.1.2  
changed lines
  Added in v.1.12


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>