From 344f2628e30574132d1bb70f461f49fe740a4362 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 7 Dec 2019 11:57:09 -0500 Subject: [PATCH] [-] Remove one-line encapsulation --- src/logic/course.ts | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/logic/course.ts b/src/logic/course.ts index ced185b..cb982b8 100644 --- a/src/logic/course.ts +++ b/src/logic/course.ts @@ -94,7 +94,7 @@ export default class Course level: string; scaleUp: number; - rawGrading: Grading[]; + termGrading: Grading[]; computed: { @@ -136,7 +136,7 @@ export default class Course } else this.level = 'Unknown'; - this.rawGrading = new Array(4); + this.termGrading = new Array(4); } /** @@ -163,16 +163,6 @@ export default class Course this.computed = {termAssignments: termAssignments, allYearGrade: -1}; } - /** - * Get grading by term - * - * @param term - */ - getGrading(term: number) - { - return this.rawGrading[term]; - } - /** * Is graded or not */