-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes that hook data up in the Pitching Staff article:
1. Load the array of team data 2. Make a button that calls the function when pressed 3. Refactor name of quiltData to quiltContent, since that's what it is 4. Start a TeamPitching article
- Loading branch information
Showing
7 changed files
with
126 additions
and
46 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
console.log('loaded TEAMPITCHING FUNCTIONFILE'); | ||
let teamPitching = function(){ | ||
console.log(staffPitchingSummary[1][1]); | ||
return staffPitchingSummary[1][1]; | ||
} | ||
|
||
|
||
/* | ||
PSEUDOCODE | ||
Make aTWINNED 2-d array for the third category: age = [[twowordteamname, pitcherage], ] | ||
read a flat file, line by line | ||
Take the entered team name and return their age | ||
regex pattern is... | ||
reduce the array to the matching pattern or return 'not found' string | ||
display that | ||
*/ | ||
|
||
/* | ||
TODO | ||
add args to the function above | ||
*/ | ||
|
||
|
||
/* Reflection | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters