prettify, sorry for the big ass commit

This commit is contained in:
Olivier Gagnon
2021-09-04 19:09:30 -04:00
parent 3d7cdb4ef9
commit a18bdd6afc
554 changed files with 91615 additions and 66138 deletions
+11 -5
View File
@@ -1,11 +1,17 @@
import { StockSymbols } from "./StockSymbols";
export const TickerHeaderFormatData = {
longestName: 0,
longestSymbol: 0,
}
longestName: 0,
longestSymbol: 0,
};
for (const key in StockSymbols) {
TickerHeaderFormatData.longestName = Math.max(key.length, TickerHeaderFormatData.longestName);
TickerHeaderFormatData.longestSymbol = Math.max(StockSymbols[key].length, TickerHeaderFormatData.longestSymbol);
TickerHeaderFormatData.longestName = Math.max(
key.length,
TickerHeaderFormatData.longestName,
);
TickerHeaderFormatData.longestSymbol = Math.max(
StockSymbols[key].length,
TickerHeaderFormatData.longestSymbol,
);
}