2 Subject: Support Iceweasel up to version 6
5 Minor tweaks to make Pentadactyl work with newer versions of Iceweasel.
6 This patch is equivalent to the difference between 1.0b6 and 1.0b6.1
7 (which is not in the upstream hg repository).
9 This patch originated upstream.
10 Index: devel/common/content/events.js
11 ===================================================================
12 --- devel.orig/common/content/events.js 2011-07-23 17:09:11.000000000 +0200
13 +++ devel/common/content/events.js 2011-07-23 17:14:10.000000000 +0200
15 filter.keys = events.fromString(vals[0]).map(events.closure.toString);
17 filter.commandKeys = vals.slice(1).map(events.closure.canonicalKeys);
18 - filter.inputKeys = filter.commandKeys.filter(/^<[ACM]-/);
19 + filter.inputKeys = filter.commandKeys.filter(function (s) /^<[ACM]-/.test(s));
23 Index: devel/common/modules/options.jsm
24 ===================================================================
25 --- devel.orig/common/modules/options.jsm 2011-07-23 17:09:17.000000000 +0200
26 +++ devel/common/modules/options.jsm 2011-07-23 17:10:38.000000000 +0200
29 regexplist: function regexplist(k, default_) {
30 for (let re in values(this.value))
32 + if ((re.test || re).call(re, k))
34 return arguments.length > 1 ? default_ : null;
36 Index: devel/pentadactyl/install.rdf
37 ===================================================================
38 --- devel.orig/pentadactyl/install.rdf 2011-07-23 17:09:28.000000000 +0200
39 +++ devel/pentadactyl/install.rdf 2011-07-23 17:09:47.000000000 +0200
41 <em:targetApplication>
43 em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
45 - em:maxVersion="4.0.*"/>
47 + em:maxVersion="6.*"/>
48 </em:targetApplication>