From 425cbbe90921fdf1f5ad03f91cc5a06d3563e77f Mon Sep 17 00:00:00 2001 From: haad Date: Mon, 29 Feb 2016 13:27:06 +0100 Subject: [PATCH] List fetching --- src/list/List.js | 1 - src/list/OrbitList.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/list/List.js b/src/list/List.js index bc1b42a..080f112 100644 --- a/src/list/List.js +++ b/src/list/List.js @@ -33,7 +33,6 @@ class List { const current = _.differenceWith(this._currentBatch, this._items, Node.equals); const others = _.differenceWith(other.items, this._items, Node.equals); const final = _.unionWith(current, others, Node.equals); - // const final = _.unionWith(others, current, Node.equals); this._items = this._items.concat(final); this._currentBatch = []; } diff --git a/src/list/OrbitList.js b/src/list/OrbitList.js index e98f737..b2d36e5 100644 --- a/src/list/OrbitList.js +++ b/src/list/OrbitList.js @@ -51,7 +51,7 @@ class OrbitList extends List { } }; - // other.items.forEach((e) => e.heads.forEach(fetchRecursive)); + other.items.forEach((e) => e.heads.forEach(fetchRecursive)); // console.log("--> Fetched", MaxHistory, "items from the history\n"); }