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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user