feat: Context::destroy
This commit is contained in:
parent
e690967cb8
commit
da941e0e39
|
@ -33,6 +33,10 @@ class Context extends Map {
|
|||
return compiled.get(traversal.hash);
|
||||
}
|
||||
|
||||
destroy() {
|
||||
super.clear();
|
||||
}
|
||||
|
||||
renderStepsUntilNow(steps, step) {
|
||||
const stepsUntilNow = steps.slice(0, steps.indexOf(step));
|
||||
return TypeMap.renderSteps(stepsUntilNow);
|
||||
|
|
Loading…
Reference in New Issue
Block a user