"
508 | resultString = resultString + ""
509 | resultString = resultString + "League Record Book | "
510 | resultString = resultString + "
"
511 | resultString = resultString + " | Category | Record | Holder |
"
512 | resultString = resultString + " | Most Points (Game) | " + roundScore(records["mostPointsGame"].score) + " | " + getManagerName(records["mostPointsGame"].manager, leagueDict.managerMap) + " |
"
513 | resultString = resultString + " | Most Points (Season) | " + roundScore(records["mostPointsSeason"].score) + " | " + getManagerName(records["mostPointsSeason"].manager, leagueDict.managerMap) + " - " + records["mostPointsSeason"].year + " |
"
514 | resultString = resultString + " | Most Points (Matchup) | " + roundScore(records["mostPointsMatchup"].matchupTotal) + " | " + mostMatchupString + " |
"
515 | resultString = resultString + " | Fewest Points (G) | " + roundScore(records["fewestPointsGame"].score) + " | " + getManagerName(records["fewestPointsGame"].manager, leagueDict.managerMap) + " |
"
516 | resultString = resultString + " | Fewest Points (S) | " + roundScore(records["fewestPointsSeason"].score) + " | " + getManagerName(records["fewestPointsSeason"].manager, leagueDict.managerMap) + " - " + records["fewestPointsSeason"].year + " |
"
517 | resultString = resultString + " | Fewest Points (M) | " + roundScore(records["fewestPointsMatchup"].matchupTotal) + " | " + fewestMatchupString + " |
"
518 | resultString = resultString + " | Smallest Margin of Victory (M) | " + roundScore(records["smallestMarginMatchup"].pointDiff) + " | " + smallestMarginString + " |
"
519 | resultString = resultString + " | Biggest Blowout (M) | " + roundScore(records["biggestBlowoutMatchup"].pointDiff) + " | " + biggestBlowoutString + " |
"
520 | resultString = resultString + " | Most Points Allowed (S) | " + roundScore(records["mostPointsAllowedSeason"].totalPoints) + " | " + getManagerName(records["mostPointsAllowedSeason"].vs, leagueDict.managerMap) + " - " + records["mostPointsAllowedSeason"].year + " |
"
521 | resultString = resultString + " | Fewest Points Allowed (S) | " + roundScore(records["fewestPointsAllowedSeason"].totalPoints) + " | " + getManagerName(records["fewestPointsAllowedSeason"].vs, leagueDict.managerMap) + " - " + records["fewestPointsAllowedSeason"].year + " |
"
522 | resultString = resultString + " | Longest Win Streak | " + records["winStreak"].games.length + " | " + getManagerName(records["winStreak"].manager, leagueDict.managerMap) + " |
"
523 | resultString = resultString + " | Longest Losing Streak | " + records["loseStreak"].games.length + " | " + getManagerName(records["loseStreak"].manager, leagueDict.managerMap) + " |
";
524 | console.log(leagueDict, !leagueDict.hidePlayerRecords);
525 | if(leagueDict && !leagueDict.hidePlayerRecords) {
526 | console.log("here", records);
527 | if(records["mostPointsPlayerGame-QB"]) resultString = resultString + " | Most Points-QB (G) | " + roundScore(records["mostPointsPlayerGame-QB"].score) + " | " + records["mostPointsPlayerGame-QB"].player + " |
"
528 | if(records["mostPointsPlayerSeason-QB"]) resultString = resultString + " | Most Points-QB (S) | " + roundScore(records["mostPointsPlayerSeason-QB"].score) + " | " + records["mostPointsPlayerSeason-QB"].player + " - " + records["mostPointsPlayerSeason-QB"].year + " |
"
529 | if(records["mostPointsPlayerGame-RB"]) resultString = resultString + " | Most Points-RB (G) | " + roundScore(records["mostPointsPlayerGame-RB"].score) + " | " + records["mostPointsPlayerGame-RB"].player + " |
"
530 | if(records["mostPointsPlayerSeason-RB"]) resultString = resultString + " | Most Points-RB (S) | " + roundScore(records["mostPointsPlayerSeason-RB"].score) + " | " + records["mostPointsPlayerSeason-RB"].player + " - " + records["mostPointsPlayerSeason-RB"].year + " |
"
531 | if(records["mostPointsPlayerGame-WR"]) resultString = resultString + " | Most Points-WR (G) | " + roundScore(records["mostPointsPlayerGame-WR"].score) + " | " + records["mostPointsPlayerGame-WR"].player + " |
"
532 | if(records["mostPointsPlayerSeason-WR"]) resultString = resultString + " | Most Points-WR (S) | " + roundScore(records["mostPointsPlayerSeason-WR"].score) + " | " + records["mostPointsPlayerSeason-WR"].player + " - " + records["mostPointsPlayerSeason-WR"].year + " |
"
533 | if(records["mostPointsPlayerGame-TE"]) resultString = resultString + " | Most Points-TE (G) | " + roundScore(records["mostPointsPlayerGame-TE"].score) + " | " + records["mostPointsPlayerGame-TE"].player + " |
"
534 | if(records["mostPointsPlayerSeason-TE"]) resultString = resultString + " | Most Points-TE (S) | " + roundScore(records["mostPointsPlayerSeason-TE"].score) + " | " + records["mostPointsPlayerSeason-TE"].player + " - " + records["mostPointsPlayerSeason-TE"].year + " |
"
535 | if(records["mostPointsPlayerGame-DST"]) resultString = resultString + " | Most Points-D/ST (G) | " + roundScore(records["mostPointsPlayerGame-DST"].score) + " | " + records["mostPointsPlayerGame-DST"].player + " |
"
536 | if(records["mostPointsPlayerSeason-DST"]) resultString = resultString + " | Most Points-D/ST (S) | " + roundScore(records["mostPointsPlayerSeason-DST"].score) + " | " + records["mostPointsPlayerSeason-DST"].player + " - " + records["mostPointsPlayerSeason-DST"].year + " |
"
537 | if(records["mostPointsPlayerGame-K"]) resultString = resultString + " | Most Points-K (G) | " + roundScore(records["mostPointsPlayerGame-K"].score) + " | " + records["mostPointsPlayerGame-K"].player + " |
"
538 | if(records["mostPointsPlayerSeason-K"]) resultString = resultString + " | Most Points-K (S) | " + roundScore(records["mostPointsPlayerSeason-K"].score) + " | " + records["mostPointsPlayerSeason-K"].player + " - " + records["mostPointsPlayerSeason-K"].year + " |
"
539 | }
540 | resultString = resultString + "