Active.Mapper was being initialized twice, causing errors (#934)
This commit is contained in:
parent
5d8ff3efce
commit
90c5bc26fc
1 changed files with 0 additions and 2 deletions
|
@ -77,8 +77,6 @@ const DataModel = {
|
||||||
if (serverData.Topics) self.Topics = new TopicCollection(serverData.Topics)
|
if (serverData.Topics) self.Topics = new TopicCollection(serverData.Topics)
|
||||||
|
|
||||||
// initialize global backbone models and collections
|
// initialize global backbone models and collections
|
||||||
if (Active.Mapper) Active.Mapper = new self.Mapper(Active.Mapper)
|
|
||||||
|
|
||||||
var myCollection = serverData.Mine ? serverData.Mine : []
|
var myCollection = serverData.Mine ? serverData.Mine : []
|
||||||
var sharedCollection = serverData.Shared ? serverData.Shared : []
|
var sharedCollection = serverData.Shared ? serverData.Shared : []
|
||||||
var starredCollection = serverData.Starred ? serverData.Starred : []
|
var starredCollection = serverData.Starred ? serverData.Starred : []
|
||||||
|
|
Loading…
Reference in a new issue