pis #1
@ -37,7 +37,8 @@ async function insertData(json) {
 | 
			
		||||
    const data = JSON.parse(json)
 | 
			
		||||
    let results = 0
 | 
			
		||||
    for(var i = 0; i < data.length; i++) {  // Break into separate function.  Need to
 | 
			
		||||
                                            // iterate over stops.
 | 
			
		||||
                                            // iterate over stops and print them in the
 | 
			
		||||
                                            // format: `AVN, PRI, SHH... etc.`
 | 
			
		||||
        tableData += `<tr><td class="code">${data[i][code]}</td>
 | 
			
		||||
            <td class="stops">${data[i][stops]}</td></tr>`
 | 
			
		||||
        results++
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user