Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Latest commit

 

History

History
64 lines (55 loc) · 1.5 KB

open-results.md

File metadata and controls

64 lines (55 loc) · 1.5 KB
layout title key
full-single-page-md
Open Contest Results
open-results
<script> var data = []; var table_el = document.getElementById("results"); function h (parent, tag) { var el = document.createElement(tag); parent.append(el); return el; } function httpGetAsync(theUrl, callback) { var xmlHttp = new XMLHttpRequest(); xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 && xmlHttp.status == 200) callback(xmlHttp.responseText); } xmlHttp.open("GET", theUrl, true); // true for asynchronous xmlHttp.send(null); } function processCSV(allText) { var allTextLines = allText.split(/\r\n|\n/); var lines = []; for (var i=0; i