diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-08-22 01:16:14 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-08-22 01:16:14 -0400 |
commit | fbb6af43ed876f4a484da223b4ac7addabee98c8 (patch) | |
tree | 1e3955f155fd1c4813643941f0b3b3dea2afe928 /common/content/quickmarks.js | |
parent | 5f1fb91f95732ef944b761fbebbd9e2bdd2a551b (diff) | |
download | pentadactyl-fbb6af43ed876f4a484da223b4ac7addabee98c8.tar.gz |
Add dom.jsm. And stuff.
Diffstat (limited to 'common/content/quickmarks.js')
-rw-r--r-- | common/content/quickmarks.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/content/quickmarks.js b/common/content/quickmarks.js index 74a34c72..23c8f6bd 100644 --- a/common/content/quickmarks.js +++ b/common/content/quickmarks.js @@ -99,9 +99,9 @@ var QuickMarks = Module("quickmarks", { */ list: function list(filter) { let marks = [k for ([k, v] in this._qmarks)]; - let lowercaseMarks = marks.filter(function (x) /[a-z]/.test(x)).sort(); - let uppercaseMarks = marks.filter(function (x) /[A-Z]/.test(x)).sort(); - let numberMarks = marks.filter(function (x) /[0-9]/.test(x)).sort(); + let lowercaseMarks = marks.filter(bind("test", /[a-z]/)).sort(); + let uppercaseMarks = marks.filter(bind("test", /[A-Z]/)).sort(); + let numberMarks = marks.filter(bind("test", /[0-9]/)).sort(); marks = Array.concat(lowercaseMarks, uppercaseMarks, numberMarks); |