From 0db324f53df7a4e9330d1e54eea05e1bf699cf88 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Thu, 1 Mar 2018 01:17:46 +0300 Subject: [PATCH] unused stuffs removed --- src/background/bt/table.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/background/bt/table.js b/src/background/bt/table.js index 5b0140b..4cdebaa 100644 --- a/src/background/bt/table.js +++ b/src/background/bt/table.js @@ -57,11 +57,9 @@ class Table{ this.nodes = [] this.caption = cap } - add(node, onAdd) { + add(node) { if (this.nodes.length < this.caption) { this.nodes.push(node) - if(onAdd) - onAdd(node) } } shift() {