From 0add26f61a75781f4b623b87028dd4a8687642a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= Date: Wed, 6 Jul 2011 16:19:33 +0200 Subject: [PATCH] Fix some typos. --- common/content/abbreviations.js | 2 +- common/content/buffer.js | 4 ++-- common/modules/base.jsm | 2 +- pentadactyl/NEWS | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/content/abbreviations.js b/common/content/abbreviations.js index 12514b2b..77634b05 100644 --- a/common/content/abbreviations.js +++ b/common/content/abbreviations.js @@ -103,7 +103,7 @@ var AbbrevHive = Class("AbbrevHive", Contexts.Hive, { this._store = {}; }, - /** @property {boolean} True if there are no abbreviations */ + /** @property {boolean} True if there are no abbreviations. */ get empty() !values(this._store).nth(util.identity, 0), /** diff --git a/common/content/buffer.js b/common/content/buffer.js index aa5f091e..c1cd1b4c 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -482,7 +482,7 @@ var Buffer = Module("buffer", { }, /** - * Find the counth last link on a page matching one of the given + * Find the *count*th last link on a page matching one of the given * regular expressions, or with a @rel or @rev attribute matching * the given relation. Each frame is searched beginning with the * last link and progressing to the first, once checking for @@ -927,7 +927,7 @@ var Buffer = Module("buffer", { * url: The URL to view. * doc: The document to view. * line: The line to select. - * column: the column to select. + * column: The column to select. * * If no URL is provided, the current document is used. * @default The current buffer. diff --git a/common/modules/base.jsm b/common/modules/base.jsm index d1ddb39e..c4c60167 100644 --- a/common/modules/base.jsm +++ b/common/modules/base.jsm @@ -69,7 +69,7 @@ if (!Object.defineProperties) if (!Object.freeze) Object.freeze = function freeze(obj) {}; if (!Object.getPropertyDescriptor) - Object.getPropertyDescriptor = function getOwnPropertyDescriptor(obj, prop) { + Object.getPropertyDescriptor = function getPropertyDescriptor(obj, prop) { try { let desc = { configurable: true, diff --git a/pentadactyl/NEWS b/pentadactyl/NEWS index ce6f627a..848c357d 100644 --- a/pentadactyl/NEWS +++ b/pentadactyl/NEWS @@ -115,7 +115,7 @@ - Added 's' and 'e' flags to :pageinfo command. [b7] - Added :pintab and :unpintab commands. [b7] - Extension manipulation commands, including :extenable, :extdisable, - and :exttoggle, now accept a -types argument. + and :exttoggle, now accept a -types argument. [b7] - :tabmove now moves to the position of tab N, not after it. Without arguments it no longer moves the tab to the end of the list. [b7]