unused stuffs removed
This commit is contained in:
parent
590671e1f5
commit
0db324f53d
@ -57,11 +57,9 @@ class Table{
|
|||||||
this.nodes = []
|
this.nodes = []
|
||||||
this.caption = cap
|
this.caption = cap
|
||||||
}
|
}
|
||||||
add(node, onAdd) {
|
add(node) {
|
||||||
if (this.nodes.length < this.caption) {
|
if (this.nodes.length < this.caption) {
|
||||||
this.nodes.push(node)
|
this.nodes.push(node)
|
||||||
if(onAdd)
|
|
||||||
onAdd(node)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
shift() {
|
shift() {
|
||||||
|
Loading…
Reference in New Issue
Block a user