1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 06:08:02 +01:00

added ###VERSION### and ###DATE### for being seded in the Makefile

This commit is contained in:
Martin Stubenschrott
2007-04-28 16:05:13 +00:00
parent cdcf828bb9
commit 3777c098da
4 changed files with 8 additions and 7 deletions

View File

@@ -164,15 +164,16 @@ table.settings th {\
ret += "<code>" +beg+ usage +end+ '</code><br/>'; ret += "<code>" +beg+ usage +end+ '</code><br/>';
} }
ret += '</td><td>'; ret += '</td><td>';
if (func)
ret += func.call(this, commands[i]);
if (commands[i][SHORTHELP]) if (commands[i][SHORTHELP])
{ {
if(func)
ret += "<br/>";
ret += "<b>"; ret += "<b>";
ret += commands[i][SHORTHELP]; // the help description ret += commands[i][SHORTHELP]; // the help description
ret += "</b><br>"; ret += "</b><br>";
if(func) // for settings whe print default values here, e.g.
{
ret += func.call(this, commands[i]);
ret += "<br/>";
}
if (commands[i][HELP]) if (commands[i][HELP])
ret += commands[i][HELP]; // the help description ret += commands[i][HELP]; // the help description
} }

View File

@@ -91,7 +91,7 @@ var g_settings = [/*{{{*/
["focusedhintstyle", "fhs"], ["focusedhintstyle", "fhs"],
["focusedhintstyle", "fhs"], ["focusedhintstyle", "fhs"],
"CSS specification of focused hints appearance", "CSS specification of focused hints appearance",
"null", null,
"string", "string",
null, null,
function(value) { set_pref("focusedhintstyle", value); }, function(value) { set_pref("focusedhintstyle", value); },

View File

@@ -26,7 +26,7 @@ the provisions above, a recipient may use your version of this file under
the terms of any one of the MPL, the GPL or the LGPL. the terms of any one of the MPL, the GPL or the LGPL.
}}} ***** END LICENSE BLOCK *****/ }}} ***** END LICENSE BLOCK *****/
var g_vimperator_version = "0.4 (CVS) [>=28/04/2007]"; var g_vimperator_version = "###VERSION### (created: ###date###)";
const MODE_NORMAL = 1; const MODE_NORMAL = 1;
const MODE_INSERT = 2; const MODE_INSERT = 2;

View File

@@ -5,7 +5,7 @@
<Description about="urn:mozilla:install-manifest"> <Description about="urn:mozilla:install-manifest">
<em:id>vimperator@mozdev.org</em:id> <em:id>vimperator@mozdev.org</em:id>
<em:name>Vimperator</em:name> <em:name>Vimperator</em:name>
<em:version>0.4</em:version> <em:version>###VERSION###</em:version>
<em:description>Make Firefox work like Vim</em:description> <em:description>Make Firefox work like Vim</em:description>
<em:creator>Martin Stubenschrott</em:creator> <em:creator>Martin Stubenschrott</em:creator>
<em:homepageURL>http://vimperator.mozdev.org</em:homepageURL> <em:homepageURL>http://vimperator.mozdev.org</em:homepageURL>