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

Replace 'ignorecase' and 'smartcase' with 'searchcase'.

This commit is contained in:
Kris Maglione
2010-12-04 17:21:15 -05:00
parent a26b410daa
commit 23fba45b28
7 changed files with 34 additions and 42 deletions

View File

@@ -686,7 +686,7 @@ const Dactyl = Module("dactyl", {
let res = <res>
<dt>{link(obj.name)}</dt> <dd>{obj.description ? obj.description.replace(/\.$/, "") : ""}</dd>
<item>
<tags>{template.map(obj.names.reverse, tag, " ")}</tags>
<tags>{template.map(obj.names.slice().reverse(), tag, " ")}</tags>
<spec>{spec((obj.specs || obj.names)[0])}</spec>{
!obj.type ? "" : <>
<type>{obj.type}</type>
@@ -721,7 +721,7 @@ const Dactyl = Module("dactyl", {
})</>
}</>
]));
return res.*.toXMLString().replace(/^ {12}/gm, "");;
return res.*.toXMLString().replace(/^ {12}|[ \t]+$/gm, "");
},
/**