1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-07 16:05:44 +01:00

Merge default.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-24 20:45:19 -05:00
7 changed files with 11 additions and 11 deletions

View File

@@ -103,7 +103,7 @@ const ConfigBase = Class(ModuleBase, {
host: null,
/**
* @property {Object} A map between key names for key events should be ignored,
* @property {Object} A map between key names for key events which should be ignored,
* and a mask of the modes in which they should be ignored.
*/
ignoreKeys: {}, // NOTE: be aware you can't put useful values in here, as "modes.NORMAL" etc. are not defined at this time
@@ -199,7 +199,7 @@ const ConfigBase = Class(ModuleBase, {
!CmdLine;>* font-family: monospace !important; padding: 1px !important;
CmdPrompt;.dactyl-commandline-prompt
CmdInput;.dactyl-commandline-command
CmdOutput white-space: pre;
CmdOutput white-space: pre;
CompGroup

View File

@@ -481,7 +481,7 @@ const Mappings = Module("mappings", {
options: [ update({}, modeFlag, {
names: ["-modes", "-mode", "-m"],
type: CommandOption.LIST,
description: "Clear mappings from the given modes",
description: "Remove all mappings from the given modes",
default: mapmodes || ["n", "v"],
}),
]

View File

@@ -725,7 +725,7 @@
<type>number</type>
<default>0</default>
<description>
<p>Changes how soon matching hints are followed in in Hints mode.</p>
<p>Changes how soon matching hints are followed in Hints mode.</p>
<p>Possible values:</p>

View File

@@ -38,7 +38,7 @@
<p>Fake key events.</p>
<dl>
<dt>-mode</dt> <dd>The in which to feed the keys (short name: <em>-m</em>)</dd>
<dt>-mode</dt> <dd>The mode in which to feed the keys (short name: <em>-m</em>)</dd>
</dl>
</description>
</item>

View File

@@ -1134,7 +1134,7 @@ const array = Class("array", Array, {
* Returns the nth member of the given array that matches the
* given predicate.
*/
nth: function first(ary, pred, n, self) {
nth: function nth(ary, pred, n, self) {
for (let elem in values(ary))
if (pred.call(self, elem) && n-- === 0)
return elem;

View File

@@ -267,7 +267,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
return stack.top;
},
compileMacro: function compileFormat(macro, keepUnknown) {
compileMacro: function compileMacro(macro, keepUnknown) {
let stack = [frame()];
stack.__defineGetter__("top", function () this[this.length - 1]);