From 90c5bc26fc313a9d50271ed9db63ad3bdfafcb15 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sun, 27 Nov 2016 21:12:05 -0500 Subject: [PATCH] Active.Mapper was being initialized twice, causing errors (#934) --- frontend/src/Metamaps/DataModel/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/Metamaps/DataModel/index.js b/frontend/src/Metamaps/DataModel/index.js index 6235b879..6d41e19f 100644 --- a/frontend/src/Metamaps/DataModel/index.js +++ b/frontend/src/Metamaps/DataModel/index.js @@ -77,8 +77,6 @@ const DataModel = { if (serverData.Topics) self.Topics = new TopicCollection(serverData.Topics) // initialize global backbone models and collections - if (Active.Mapper) Active.Mapper = new self.Mapper(Active.Mapper) - var myCollection = serverData.Mine ? serverData.Mine : [] var sharedCollection = serverData.Shared ? serverData.Shared : [] var starredCollection = serverData.Starred ? serverData.Starred : []