mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-06 07:37:56 +02:00
prettify, sorry for the big ass commit
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user