remove cancelAnimationFrame complexity and rely on MarkedExecution class
This commit is contained in:
parent
09c22c37ff
commit
652e06a7b1
3 changed files with 18 additions and 41 deletions
|
@ -33,13 +33,6 @@ export class MarkedExecution {
|
|||
constructor(private fn: () => void, private onMarkCallback?: () => void) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for the _marked property
|
||||
*/
|
||||
public get marked() {
|
||||
return this._marked;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resets the mark without calling the function.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue