[+] Create updateCallbacks in assignment
This commit is contained in:
@@ -29,6 +29,9 @@ export class Assignment
|
|||||||
|
|
||||||
gradingPeriod: number;
|
gradingPeriod: number;
|
||||||
|
|
||||||
|
// Callbacks when this object updates
|
||||||
|
private updateCallbacks: (() => void)[] = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct assignment with json object
|
* Construct assignment with json object
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user