Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/index.html

Issue 6423769060999168: Issue 301 - adblockplustests: Use for (.. of ..) (Closed)
Patch Set: Created April 12, 2014, 1:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/content/common.js ('k') | chrome/content/tests/elemhide.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/index.html
===================================================================
--- a/chrome/content/index.html
+++ b/chrome/content/index.html
@@ -38,17 +38,17 @@
zipReader.close();
}
result.sort();
return result;
}
let files = getTestFiles();
- for each (let file in files)
+ for (let file of files)
{
let script = document.createElement("script");
script.setAttribute("src", file);
script.setAttribute("type", "text/javascript;version=1.7");
document.documentElement.appendChild(script);
}
</script>
</head>
« no previous file with comments | « chrome/content/common.js ('k') | chrome/content/tests/elemhide.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld