1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 06:05:45 +01:00

Fix some typos.

This commit is contained in:
Štěpán Němec
2010-12-24 17:43:31 +01:00
parent 6451646b0c
commit 879cb52279
7 changed files with 11 additions and 11 deletions

View File

@@ -100,7 +100,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
@@ -196,7 +196,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

@@ -1130,7 +1130,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

@@ -256,7 +256,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]);