Skip to content

Commit 0698792

Browse files
Ghosytimss
authored andcommitted
Fix misspelled words (#686)
1 parent 652474f commit 0698792

File tree

14 files changed

+21
-21
lines changed

14 files changed

+21
-21
lines changed

common/content/buffer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ const Buffer = Module("buffer", {
855855
// find the currently focused frame index
856856
// TODO: If the window is a frameset then the first _frame_ should be
857857
// focused. Since this is not the current FF behaviour,
858-
// we initalize current to -1 so the first call takes us to the
858+
// we initialize current to -1 so the first call takes us to the
859859
// first frame.
860860
let current = frames.indexOf(document.commandDispatcher.focusedWindow);
861861

common/content/commandline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const CommandLine = Module("commandline", {
167167
// we need to save the mode which we were in before opening the command line
168168
// this is then used if we focus the command line again without the "official"
169169
// way of calling "open"
170-
this._currentExtendedMode = null; // the extended mode which we last openend the command line for
170+
this._currentExtendedMode = null; // the extended mode which we last opened the command line for
171171
this._currentPrompt = null;
172172
this._currentCommand = null;
173173

common/content/completion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ const CompletionContext = Class("CompletionContext", {
347347
get ignoreCase() {
348348
if ("_ignoreCase" in this)
349349
return this._ignoreCase;
350-
// smart case by default unless overriden above
350+
// smart case by default unless overridden above
351351
return this._ignoreCase = !/[A-Z]/.test(this.filter);
352352
},
353353
set ignoreCase(val) this._ignoreCase = val,

common/content/editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ const Editor = Module("editor", {
852852
{ arg: true, count: true });
853853

854854
mappings.add([modes.TEXTAREA, modes.VISUAL],
855-
["F"], "Move to a charater on the current line before the cursor",
855+
["F"], "Move to a character on the current line before the cursor",
856856
function (count, arg) {
857857
let pos = editor.findCharBackward(arg, count);
858858
if (pos >= 0)

common/content/events.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ const Events = Module("events", {
402402
* .liberatorShift these are set for characters that can never by
403403
* typed, but may appear in mappings, for example <Nop> is passed as
404404
* liberatorString, and liberatorShift is set when a user specifies
405-
* <S-@> where @ is a non-case-changable, non-space character.
405+
* <S-@> where @ is a non-case-changeable, non-space character.
406406
*
407407
* @param {string} keys The string to parse.
408408
* @returns {Array[Object]}
@@ -551,7 +551,7 @@ const Events = Module("events", {
551551
}
552552
}
553553

554-
if (!key) { // For alphabetical caracters
554+
if (!key) { // For alphabetical characters
555555
key = String.fromCharCode(event.keyCode); // Gives by default the uppercased version for keydown/keyup of normal keys
556556
if (!event.shiftKey)
557557
key = key.toLowerCase();

common/content/hints.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,11 +1318,11 @@ const Hints = Module("hints", {
13181318
{
13191319
completer: function (context) [
13201320
["contains", "The typed characters are split on whitespace. The resulting groups must all appear in the hint."],
1321-
["wordstartswith", "The typed characters are split on whitespace. The resulting groups must all match the beginings of words, in order."],
1321+
["wordstartswith", "The typed characters are split on whitespace. The resulting groups must all match the beginnings of words, in order."],
13221322
["firstletters", "Behaves like wordstartswith, but all groups much match a sequence of words."],
13231323
["fuzzy", "Hints are matched according to the fuzzy search algorithm."],
13241324
["custom", "Delegate to a custom function: liberator.plugins.customHintMatcher(hintString)"],
1325-
["transliterated", "When true, special latin characters are translated to their ascii equivalent (e.g., \u00e9 -> e)"]
1325+
["transliterated", "When true, special Latin characters are translated to their ascii equivalent (e.g., \u00e9 -> e)"]
13261326
]
13271327
});
13281328

common/content/io.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ const File = Class("File", {
291291
let path = this(head);
292292
try {
293293
path.appendRelativePath(this.expandPath(tail, true)); // FIXME: should only expand env vars and normalise path separators
294-
// TODO: This code breaks the external editor at least in ubuntu
294+
// TODO: This code breaks the external editor at least in Ubuntu
295295
// because /usr/bin/gvim becomes /usr/bin/vim.gnome normalized and for
296296
// some strange reason it will start without a gui then (which is not
297297
// optimal if you don't start firefox from a terminal ;)
@@ -843,7 +843,7 @@ lookup:
843843
},
844844

845845
/**
846-
* @property {string} The current platform's path seperator.
846+
* @property {string} The current platform's path separator.
847847
*/
848848
get PATH_SEP() {
849849
delete this.PATH_SEP;

common/content/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const JavaScript = Module("javascript", {
4949
// run in page context, not in chrome context.
5050
// However, as we really need to make sure, values coming
5151
// from content scope are never used in unsecured eval(),
52-
// we dissallow unwrapping objects for now, unless the user
52+
// we disallow unwrapping objects for now, unless the user
5353
// uses an (undocumented) option 'unwrapjsobjects'
5454
else if (options.inspectcontentobjects) {
5555
obj = obj.wrappedJSObject;

common/content/liberator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ const Liberator = Module("liberator", {
315315
if (str instanceof Error) {
316316
let stackTrace = xml``;
317317
let stackItems = new Error().stack.split('\n');
318-
// ignore the first element intenationally!
318+
// ignore the first element intentionally!
319319
stackTrace = template.map2(xml, stackItems.slice(1), function (stackItema) {
320320
let atIndex = stackItem.lastIndexOf("@");
321321
if (n === 0 || atIndex < 0)
@@ -553,7 +553,7 @@ const Liberator = Module("liberator", {
553553
return {responseXML: res};
554554
}
555555

556-
// Left as an XPCOM instantiation so it can easilly be moved
556+
// Left as an XPCOM instantiation so it can easily be moved
557557
// into XPCOM code.
558558
function XSLTProcessor(sheet) {
559559
let xslt = Cc["@mozilla.org/document-transformer;1?type=xslt"].createInstance(Ci.nsIXSLTProcessor);

common/content/liberator.xul

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
events="select"
4949
oncommandupdate="if (window.liberator &and; liberator.modules.events != undefined) liberator.modules.events.onSelectionChange(event);"/>
5050

51-
<!-- a visual seperator between the content and our command line -->
51+
<!-- a visual separator between the content and our command line -->
5252
<html:div id="liberator-separator" liberator:highlight="ContentSeparator"/>
5353

5454
<!-- As of Firefox 3.1pre, <iframe>.height changes do not seem to have immediate effect,

0 commit comments

Comments
 (0)