1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 17:45:48 +01:00

Remove date from config.version.

This commit is contained in:
Kris Maglione
2011-08-21 04:06:20 -04:00
parent fd364645db
commit ffe138b4e3
3 changed files with 19 additions and 9 deletions

View File

@@ -1866,10 +1866,14 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
function (args) {
if (args.bang)
dactyl.open("about:");
else
commandline.commandOutput(<>
{config.appName} {config.version} running on:<br/>{navigator.userAgent}
</>);
else {
let date = config.buildDate;
date = date ? " (" + date + ")" : "";
commandline.commandOutput(
<div>{config.appName} {config.version}{date} running on: </div> +
<div>{navigator.userAgent}</div>)
}
}, {
argCount: "0",
bang: true