Commit ba30c2ce by Diana Huang

Calculate the total score from the rubric.

parent 0bae9839
......@@ -16,6 +16,10 @@ class @Rubric
@get_total_score: () ->
score_lst = @get_score_list()
tot = 0
for score in score_lst
tot += parseInt(score)
return tot
@check_complete: () ->
# check to see whether or not any categories have not been scored
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment