mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 982322 - Part 3: Process tree without for ... of. r=ochameau
This commit is contained in:
parent
6bee09397a
commit
c1ba262c38
@ -334,14 +334,14 @@ Template.prototype = {
|
||||
let loops = parent.querySelectorAll(":not(template) [template-loop]");
|
||||
let fors = parent.querySelectorAll(":not(template) [template-for]");
|
||||
let nodes = parent.querySelectorAll(":not(template) [template]");
|
||||
for (let e of loops) {
|
||||
this._processLoop(e, resolver);
|
||||
for (let i = 0; i < loops.length; i++) {
|
||||
this._processLoop(loops[i], resolver);
|
||||
}
|
||||
for (let e of fors) {
|
||||
this._processFor(e, resolver);
|
||||
for (let i = 0; i < fors.length; i++) {
|
||||
this._processFor(fors[i], resolver);
|
||||
}
|
||||
for (let e of nodes) {
|
||||
this._processNode(e, resolver);
|
||||
for (let i = 0; i < nodes.length; i++) {
|
||||
this._processNode(nodes[i], resolver);
|
||||
}
|
||||
if (parent.hasAttribute("template")) {
|
||||
this._processNode(parent, resolver);
|
||||
|
Loading…
Reference in New Issue
Block a user