Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: ports/lua/lua.js

Issue 1436283002: Add support for jslint and cleanup core JavaScript files (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/libgit2-demo/libgit2.js ('k') | ports/quakespasm/quakespasm.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/lua/lua.js
diff --git a/ports/lua/lua.js b/ports/lua/lua.js
index f7aa4479736a9aad7a969eefaaf7784b13590656..3e882a0824a677b839f1127ee804d5940857439d 100644
--- a/ports/lua/lua.js
+++ b/ports/lua/lua.js
@@ -32,7 +32,8 @@ function uploadFile(file) {
function uploadFiles(evt) {
var files = evt.srcElement.files;
- for (var i = 0; i < files.length; i++) {
+ var i;
+ for (i = 0; i < files.length; i++) {
uploadFile(files[i]);
}
}
« no previous file with comments | « ports/libgit2-demo/libgit2.js ('k') | ports/quakespasm/quakespasm.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698