Skip to content

Commit

Permalink
Merge pull request #5 from GabrielT1522/dev
Browse files Browse the repository at this point in the history
reformat file structure
  • Loading branch information
GabrielT1522 authored Nov 29, 2023
2 parents 6084835 + b74d2a8 commit 4eadd3b
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .gitignore

This file was deleted.

File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 6 additions & 2 deletions TXC-ITDN/js/statehs.js → js/statehs.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,13 @@ async function API_Request(startYear, endYear) {
var API_counter = 0;
var states = $('#stateInput').val();
commodity = getCommodityInput();
console.log('States:', states); // Log the value here

totalCalls = 0;
totalCalls = 2 * (12 * (endYear - startYear + 1)); // 12 months per year
numOfStates = 1;
if (states && states.length > 0) {
numOfStates = states.length;
}
totalCalls = numOfStates * 2 * (12 * (endYear - startYear + 1)); // 12 months per year
console.log(totalCalls);
const tradeTypes = ['imports', 'exports'];
const API_DATA = [];
Expand Down

0 comments on commit 4eadd3b

Please sign in to comment.