mirror of
https://github.com/jwetzell/aas-js.git
synced 2026-08-25 06:49:05 +00:00
add a reset method to console
This commit is contained in:
@@ -3,6 +3,12 @@ class Console {
|
|||||||
this.sportInitialized = false;
|
this.sportInitialized = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reset() {
|
||||||
|
this.sportInitialized = false;
|
||||||
|
delete this.sport;
|
||||||
|
delete this.state;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Buffer} buffer
|
* @param {Buffer} buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user