1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 06:37:59 +01:00

Define option getters to return Optionhints.jsvalues rather than #value.

This commit is contained in:
Kris Maglione
2010-09-24 16:11:17 -04:00
parent 3645cd27d0
commit 5bf3784ab2
5 changed files with 11 additions and 12 deletions

View File

@@ -532,8 +532,7 @@ const Buffer = Module("buffer", {
* RegExp.
*/
followDocumentRelationship: function (rel) {
let regexes = options.get(rel + "pattern").values
.map(function (re) RegExp(re, "i"));
let regexes = options[rel + "pattern"].map(function (re) RegExp(re, "i"));
function followFrame(frame) {
function iter(elems) {