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

Normalise the use of "regexp(s)" vs "regex(es)".

"regex" won the Google battle.
This commit is contained in:
Doug Kearns
2009-07-11 15:50:48 +10:00
parent c51761e08b
commit c47a0ec1cc
14 changed files with 21 additions and 21 deletions

View File

@@ -1137,7 +1137,7 @@ function Buffer() //{{{
*/
followDocumentRelationship: function (rel)
{
let regexps = options.get(rel + "pattern").values
let regexes = options.get(rel + "pattern").values
.map(function (re) RegExp(re, "i"));
function followFrame(frame)
@@ -1167,7 +1167,7 @@ function Buffer() //{{{
// TODO: this should probably use the default 'hinttags' value. --djk
let res = buffer.evaluateXPath(options["hinttags"], frame.document);
for (let [,regex] in Iterator(regexps))
for (let [,regex] in Iterator(regexes))
{
for (let i in util.range(res.snapshotLength, 0, -1))
{