classes: remove patterns
This commit is contained in:
parent
be9f48c2f2
commit
b8eb04dfb6
76 changed files with 429 additions and 743 deletions
|
@ -1,12 +0,0 @@
|
|||
class ExtendedClock extends Clock {
|
||||
constructor(options) {
|
||||
super(options);
|
||||
let { precision=1000 } = options;
|
||||
this.precision = precision;
|
||||
}
|
||||
|
||||
start() {
|
||||
this.render();
|
||||
this.timer = setInterval(() => this.render(), this.precision);
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue