CTA Test 5

This commit is contained in:
Glenwing 2018-03-18 01:06:42 -07:00
parent bfcfb33620
commit 9800edebb5
2 changed files with 5 additions and 16 deletions

View File

@ -1058,22 +1058,11 @@ function SI_set_precision(SI_options, prefixDef, pre2num) {
} }
function Load_CTA_861() { async function Load_CTA_861() {
// Loads the timing definitions for the CTA-861 standard from a csv file // Loads the timing definitions for the CTA-861 standard from a csv file
fetch('CTA861.txt') response = await fetch('CTA861.txt');
.then( CTA861 = await response.text();
function(response, data) { DEBUG(await response.text());
if (response.status !== 200 && response.status !== 0) {
console.log('Response code:', response.status);
return;
}
CTA861 = data;
}
).then(
function() {
DEBUG(CTA861);
}
)
} }

View File

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