[-] Remove one-line encapsulation

This commit is contained in:
Hykilpikonna
2019-12-07 11:57:09 -05:00
parent fdb4752e87
commit 344f2628e3
+2 -12
View File
@@ -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
*/