diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-07-11 15:50:48 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-07-11 15:50:48 +1000 |
commit | c47a0ec1ccec6552be55a23935d27399e51b2641 (patch) | |
tree | 826831f165ab4608c4b6a5947d2608b3e601af0d /common/content/buffer.js | |
parent | c51761e08b22414fbdf17b9a6caa5733f41df67a (diff) | |
download | pentadactyl-c47a0ec1ccec6552be55a23935d27399e51b2641.tar.gz |
Normalise the use of "regexp(s)" vs "regex(es)".
"regex" won the Google battle.
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r-- | common/content/buffer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js index 70a41512..3655d2b3 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -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)) { |