Fix walking elements of input list
gCSVs is the input array made by the static generation script. Fix up the array walk. Change-Id: I36e7b1de66a567041c662f5b93672f52f058500a
This commit is contained in:
parent
c7ad52cc2e
commit
32a160e096
@ -41,15 +41,14 @@ $(document).on('drop', function (e) {
|
||||
* Init functions
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
// initialize graphs contained in gCSVs
|
||||
if (gCSVs !== undefined && gCSVs.length > 0) {
|
||||
$('#drop-background').hide();
|
||||
for (i in gCSVs) {
|
||||
processCSV(gCSVs[i], "csv " + i)
|
||||
}
|
||||
// initialize graphs contained in gCSVs
|
||||
if (gCSVs !== undefined && gCSVs.length > 0) {
|
||||
$('#drop-background').hide();
|
||||
for (let i = 0; i < gCSVs.length; ++i) {
|
||||
processCSV(gCSVs[i], "csv " + i)
|
||||
}
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user