CTA Test 10

This commit is contained in:
Glenwing 2018-03-18 12:48:40 -07:00
parent ddae98b8cd
commit 47d8aaf815
2 changed files with 6 additions and 6 deletions

View File

@ -1060,18 +1060,18 @@ function SI_set_precision(SI_options, prefixDef, pre2num) {
function LoadCTA861(){
// read text from URL location
DEBUG('CTA Test 9');
DEBUG('CTA Test 10');
var request = new XMLHttpRequest();
request.open('GET', 'CTA861.txt', true);
request.send(null);
request.onreadystatechange = function () {
DEBUG('request.status:', request.status)
if (request.readyState === 4 && request.status === 200) {
var type = request.getResponseHeader('Content-Type');
if (type.indexOf("text") !== 1) {
DEBUG(request.responseText);
return request.responseText;
}
}
}
DEBUG('Finished');
}

View File

@ -31,7 +31,7 @@
<div class="wrapper">
<div class="main">
<div class="header">
<a href="https://glenwing.github.io"><i class="material-icons back_arrow">subdirectory_arrow_left</i>&nbsp;Video Bandwidth Calculator (CTA Test 9)</a>
<a href="https://glenwing.github.io"><i class="material-icons back_arrow">subdirectory_arrow_left</i>&nbsp;Video Bandwidth Calculator (CTA Test 10)</a>
<hr />
</div>