~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/extensions/transformiix/resources/buster/install.js

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
const X_APP             = "Buster";
 
2
const X_VER             = "2.0"
 
3
const X_JAR_FILE        = "xslt-qa.jar";
 
4
 
 
5
var err = initInstall("Install " + X_APP, X_APP, X_VER);
 
6
logComment("initInstall: " + err);
 
7
logComment( "Installation started ..." );
 
8
addFile("We're on our way ...", X_JAR_FILE, getFolder("chrome"), "");
 
9
registerChrome(CONTENT|DELAYED_CHROME, getFolder("chrome", X_JAR_FILE), "content/xslt-qa/");
 
10
err = getLastError();
 
11
if (err == SUCCESS)  {
 
12
  performInstall();
 
13
  alert("Please restart Mozilla");
 
14
}
 
15
else  {
 
16
  cancelInstall();
 
17
}