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

Death to E4X and stuff.

This commit is contained in:
Kris Maglione
2012-12-16 19:58:35 -08:00
parent 1aaf3f75aa
commit 2f0af0a3f1
5 changed files with 13 additions and 132 deletions

View File

@@ -666,7 +666,7 @@ var Template_ = Module("Template_", {
return this.highlightSubstrings(str, (function () {
for (let res in re.iterate(str))
yield [res.index + res.pre.length, res.tag.length];
})(), template[help ? "HelpLink" : "helpLink"]);
})(), this[help ? "HelpLink" : "helpLink"]);
},
@@ -779,7 +779,6 @@ var Template_ = Module("Template_", {
break;
_i = i;
XML.ignoreWhitespace = false;
s.push(str.substring(start, i),
highlight.apply(this, Array.concat(args || str.substr(i, length))));
start = i + length;