summaryrefslogtreecommitdiff
path: root/common/modules/options.jsm
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-04-05 00:41:00 -0400
committerKris Maglione <maglione.k@gmail.com>2011-04-05 00:41:00 -0400
commit1741c1d7ac2de746871e8ab5f6c366d5dd96e115 (patch)
tree02855943790ee8b0d25b4780e28872cfb6ddb29b /common/modules/options.jsm
parent476fe51cd330f167732a623a4cf6980f4137b27a (diff)
downloadpentadactyl-1741c1d7ac2de746871e8ab5f6c366d5dd96e115.tar.gz
Fix Minefield brokenness.
Diffstat (limited to 'common/modules/options.jsm')
-rw-r--r--common/modules/options.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/modules/options.jsm b/common/modules/options.jsm
index 56f0e899..e002703c 100644
--- a/common/modules/options.jsm
+++ b/common/modules/options.jsm
@@ -448,7 +448,7 @@ var Option = Class("Option", {
regexplist: function regexplist(k, default_) {
for (let re in values(this.value))
- if (re(k))
+ if ((re.test || re).call(re, k))
return re.result;
return arguments.length > 1 ? default_ : null;
},