unused stuffs removed

This commit is contained in:
Alexey Kasyanchuk 2018-03-01 01:17:46 +03:00
parent 590671e1f5
commit 0db324f53d

View File

@ -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() {