1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:28:00 +01:00

Typo fixes.

This commit is contained in:
Doug Kearns
2010-10-23 23:14:08 +11:00
parent 1e941af1a6
commit c89df81725
9 changed files with 9 additions and 9 deletions

View File

@@ -191,7 +191,7 @@ const AutoCommands = Module("autocommands", {
options: [ options: [
{ {
names: ["-javascript", "-js"], names: ["-javascript", "-js"],
description: "Interperate the action as JavaScript code rather than an ex command" description: "Interpret the action as JavaScript code rather than an Ex command"
} }
] ]
}); });

View File

@@ -283,7 +283,7 @@ const CommandLine = Module("commandline", {
// we need to save the mode which were in before opening the command line // we need to save the mode which were in before opening the command line
// this is then used if we focus the command line again without the "official" // this is then used if we focus the command line again without the "official"
// way of calling "open" // way of calling "open"
this.currentExtendedMode = null; // the extended mode which we last openend the command line for this.currentExtendedMode = null; // the extended mode which we last opened the command line for
// save the arguments for the inputMultiline method which are needed in the event handler // save the arguments for the inputMultiline method which are needed in the event handler
this._multilineEnd = null; this._multilineEnd = null;

View File

@@ -1277,7 +1277,7 @@ const Commands = Module("commands", {
}, },
options: [ options: [
{ names: ["-bang", "-b"], description: "Command may be proceeded by a !" }, { names: ["-bang", "-b"], description: "Command may be proceeded by a !" },
{ names: ["-count", "-c"], description: "Command may be preceeded by a count" }, { names: ["-count", "-c"], description: "Command may be proceeded by a count" },
{ {
// TODO: "E180: invalid complete value: " + arg // TODO: "E180: invalid complete value: " + arg
names: ["-complete", "-C"], names: ["-complete", "-C"],

View File

@@ -1414,7 +1414,7 @@ const Dactyl = Module("dactyl", {
}; };
const addonErrors = array.toObject([ const addonErrors = array.toObject([
[AddonManager.ERROR_NETWORK_FAILURE, "A network error occured"], [AddonManager.ERROR_NETWORK_FAILURE, "A network error occurred"],
[AddonManager.ERROR_INCORRECT_HASH, "The downloaded file did not match the expected hash"], [AddonManager.ERROR_INCORRECT_HASH, "The downloaded file did not match the expected hash"],
[AddonManager.ERROR_CORRUPT_FILE, "The file appears to be corrupt"], [AddonManager.ERROR_CORRUPT_FILE, "The file appears to be corrupt"],
[AddonManager.ERROR_FILE_ACCESS, "There was an error accessing the filesystem"]]); [AddonManager.ERROR_FILE_ACCESS, "There was an error accessing the filesystem"]]);

View File

@@ -30,7 +30,7 @@ let ValueError = Class("ValueError", Error);
* privateData - see {@link Option#privateData} * privateData - see {@link Option#privateData}
* scope - see {@link Option#scope} * scope - see {@link Option#scope}
* setter - see {@link Option#setter} * setter - see {@link Option#setter}
* valdator - see {@link Option#validator} * vaildator - see {@link Option#validator}
* @optional * @optional
* @private * @private
*/ */

View File

@@ -80,7 +80,7 @@ const StatusLine = Module("statusline", {
// 1. decodeURI decodes %25 to %, which creates unintended // 1. decodeURI decodes %25 to %, which creates unintended
// encoding sequences. // encoding sequences.
url = url.split("%25").map(function (url) { url = url.split("%25").map(function (url) {
// Non-UTF-8 complient URLs cause "malformed URI sequence" errors. // Non-UTF-8 compliant URLs cause "malformed URI sequence" errors.
try { try {
return decodeURI(url); return decodeURI(url);
} }

View File

@@ -404,7 +404,7 @@ const Tabs = Module("tabs", {
* @param {boolean} allowNonUnique Whether to select the first of * @param {boolean} allowNonUnique Whether to select the first of
* multiple matches. * multiple matches.
* @param {number} count If there are multiple matches select the * @param {number} count If there are multiple matches select the
* count'th match. * *count*th match.
* @param {boolean} reverse Whether to search the buffer list in * @param {boolean} reverse Whether to search the buffer list in
* reverse order. * reverse order.
* *

View File

@@ -752,7 +752,7 @@ Class.extend = function extend(subclass, superclass, overrides) {
} }
/** /**
* Memoizes the value of a class property to the falue returned by * Memoizes the value of a class property to the value returned by
* the passed function the first time the property is accessed. * the passed function the first time the property is accessed.
* *
* @param {function(string)} getter The function which returns the * @param {function(string)} getter The function which returns the

View File

@@ -542,7 +542,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
* Returns true if *host* is a subdomain of *domain*. * Returns true if *host* is a subdomain of *domain*.
* *
* @param {string} host The host to check. * @param {string} host The host to check.
* @param {string} domain The base domain to check the host agains. * @param {string} domain The base domain to check the host against.
* @returns {boolean} * @returns {boolean}
*/ */
isSubdomain: function isSubdomain(host, domain) { isSubdomain: function isSubdomain(host, domain) {