1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 00:15:46 +01:00

Fix some cleanup issues. Better error pages for bad dactyl: URLs. Remove some dead code. Other cleanup.

This commit is contained in:
Kris Maglione
2011-08-21 10:41:46 -04:00
parent ffe138b4e3
commit 5f42595f65
13 changed files with 99 additions and 86 deletions

View File

@@ -309,7 +309,7 @@ var ConfigBase = Class("ConfigBase", {
version: Class.memoize(function () {
if (this.VCSPath)
return io.system(["hg", "-R", this.VCSPath, "log", "-r.",
"--template=hg{rev}." + this.branch]).output;
"--template=hg{rev}-{branch}"]).output;
return this.addon.version;
}),
@@ -504,13 +504,6 @@ var ConfigBase = Class("ConfigBase", {
*/
host: null,
/**
* @property {[[]]} An array of application specific mode specifications.
* The values of each mode are passed to modes.addMode during
* dactyl startup.
*/
modes: [],
/**
* @property {string} The name of the extension.
* Required.