mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 22:51:37 +00:00
started moving content to corretn divs
This commit is contained in:
@@ -59,6 +59,26 @@
|
||||
return arr;
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
// Pseudocode for 1RM calcs
|
||||
|
||||
// for each exercise in workout
|
||||
// get H1RM for exercise
|
||||
// C1RMsum = 0
|
||||
// for each set in exercise
|
||||
// calculate C1RM and store in array
|
||||
// find highest C1RM in array
|
||||
// if C1RM > H1RM then
|
||||
// H1RM = C1RM
|
||||
// set comment to "yay"
|
||||
// for each value in array
|
||||
// set[index] = value/H1RM
|
||||
// C1RMsum += value/H1RM
|
||||
// Done
|
||||
|
||||
|
||||
// assume sum sumarray * each in musclearray
|
||||
|
||||
|
||||
|
||||
////// Make below standalone funtion "updateExerciselistDIV"
|
||||
@@ -85,5 +105,3 @@ function PopulateExerciseList(exerciselist) {
|
||||
var originalExerciselist = $.getValues("/api/exerciselist");
|
||||
PopulateExerciseList(originalExerciselist);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user